Contact Groups
Delete contact group
Delete a group and its memberships. The contacts themselves are kept. A group that a broadcast still targets cannot be deleted.
DELETE
https://api.sndr.sh/api/cranl/v1/contact-groups/{id}Delete contact group
curl -X DELETE 'https://api.sndr.sh/api/cranl/v1/contact-groups/grp_4d8a0c5e-1f7' \
-H 'Authorization: Bearer sndr_your_access_token'200OK
{
"status": "ok"
}Authorization
AuthorizationstringheaderrequiredBearer followed by an access token. Needs the send scope.
Path parameters
idstringrequiredGroup ID (grp_...).
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.403
insufficient_scopeToken is missing the send scope.404
not_foundResource does not exist or belongs to a different account.409
group_in_useA broadcast still targets this group. Delete or retarget the broadcast first.