provider Suppressions - Unsubscribe Groups DELETE /asm/groups/{group_id}
@utdk/sendgrid /asm/groups/{group_id}
Delete a Suppression Group
**This endpoint allows you to delete a suppression group.** If a recipient uses the "one-click unsubscribe" option on an email associated with a deleted group, that recipient will be added to the global suppression list. Deleting a suppression group will remove the suppression, meaning email will once again be sent to the previously suppressed addresses. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.
group_id path required
The ID of the suppression group you would like to retrieve.
string
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
deleteAsmGroupsGroupId
DELETE/asm/groups/{group_id}
**This endpoint allows you to delete a suppression group.** If a recipient uses the "one-click unsubscribe" option on an email associated with a deleted group, that recipient will be added to the global suppression list. Deleting a suppression group will remove the suppression, meaning email will once again be sent to the previously suppressed addresses. This should be avoided unless a recipient indicates they wish to receive email from you again. You can use our [bypass filters](https://sendgrid.com/docs/ui/sending-email/index-suppressions/#bypass-suppressions) to deliver messages to otherwise suppressed addresses when exceptions are required.

Parameters

required

The ID of the suppression group you would like to retrieve.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.deleteAsmGroupsGroupId({
  "on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})