Contact Groups
Remove group members
Remove contacts from a group. The contacts themselves are kept. IDs that are not members are ignored.
DELETE
https://api.sndr.sh/api/cranl/v1/contact-groups/{id}/membersRemove group members
curl -X DELETE 'https://api.sndr.sh/api/cranl/v1/contact-groups/grp_4d8a0c5e-1f7/members' \
-H 'Authorization: Bearer sndr_your_access_token' \
-H 'Content-Type: application/json' \
-d '{"contact_ids": ["con_0e6b7f21-c58"]}'200OK
{
"status": "ok"
}Authorization
AuthorizationstringheaderrequiredBearer followed by an access token. Needs the send scope.
Path parameters
idstringrequiredGroup ID (grp_...).
Body
application/jsoncontact_idsstring[]requiredContact IDs (con_...) to remove, at least one.
Errors
401
unauthenticatedMissing or invalid Bearer token.401
token_expiredAccess token expired — exchange the refresh token for a new pair.401
token_revokedToken was explicitly revoked.400
invalid_requestBody is not valid JSON, or contact_ids is missing or empty.403
insufficient_scopeToken is missing the send scope.