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/v1/contact-groups/{id}Delete contact group
curl -X DELETE 'https://api.sndr.sh/v1/contact-groups/grp_4d8a0c5e-1f7' \
-H "Authorization: Bearer $SNDR_API_KEY"200OK
{
"status": "ok"
}Authorization
AuthorizationstringheaderrequiredBearer followed by your API key. Needs the send scope.
Path parameters
idstringrequiredGroup ID (grp_...).
Errors
401
unauthenticatedMissing or invalid API key.403
insufficient_scopeThe API key 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.