Documentation
Remove someone
DELETE
/v1/members/{member}TeamTakes a member out of the account, or withdraws an open invite. What they made stays in the account.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
member | string, in the path | required | The member's or invite's id. |
Example request
Terminal
curl "https://snip.link/v1/members/2b7e9c41-5d3a-4f8e-a1c6-7e0d9b2f4a18" \
-X DELETE \
-H "Authorization: Bearer $SNIP_KEY"Example response
Response
{
"removed": true
}Response fields
| Field | Type | Description |
|---|---|---|
removed | true |
Errors
| Status | Meaning |
|---|---|
| 401 | The API key is missing, malformed or revoked. |
| 403 | The plan does not include this. details.upgrade names the plan that does. |
| 404 | No one by that id in this account. |
| 429 | Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason). |