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.

DELETEhttps://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

Authorizationstringheaderrequired

Bearer followed by an access token. Needs the send scope.

Path parameters

idstringrequired

Group ID (grp_...).

Errors

401unauthenticatedMissing or invalid Bearer token.
401token_expiredAccess token expired — exchange the refresh token for a new pair.
401token_revokedToken was explicitly revoked.
403insufficient_scopeToken is missing the send scope.
404not_foundResource does not exist or belongs to a different account.
409group_in_useA broadcast still targets this group. Delete or retarget the broadcast first.