Skip to navigation

Delete a consent group

View as Markdown

Deletes a consent group by ID and removes it from all associated contacts.

This endpoint is only available when the Consent Groups feature is enabled for your account.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

OR
AuthorizationBearer

OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.

Path parameters

idlongRequired
ID of the consent group to delete

Response

Consent group deleted successfully

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error