Skip to main content
PUT
/
suppression-groups
/
{groupId}
curl --request PUT \
  --url 'https://api.autosend.com/v1/suppression-groups/AB12C3' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Marketing Unsubscribes — Updated",
    "description": "Users who opted out of all marketing emails",
    "isActive": true
  }'
{
  "success": true,
  "data": {
    "id": "6a0c49ef6ae88a19f5a01cb1",
    "groupId": "GEHYB",
    "name": "Marketing Unsubscribes - Updated",
    "description": "Users who opted out of all marketing emails",
    "isGlobal": false,
    "isActive": true,
    "suppressionCount": 0,
    "createdAt": "2026-05-19T11:30:55.935Z",
    "updatedAt": "2026-05-19T11:30:55.935Z"
  }
}
curl --request PUT \
  --url 'https://api.autosend.com/v1/suppression-groups/AB12C3' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Marketing Unsubscribes — Updated",
    "description": "Users who opted out of all marketing emails",
    "isActive": true
  }'
{
  "success": true,
  "data": {
    "id": "6a0c49ef6ae88a19f5a01cb1",
    "groupId": "GEHYB",
    "name": "Marketing Unsubscribes - Updated",
    "description": "Users who opted out of all marketing emails",
    "isGlobal": false,
    "isActive": true,
    "suppressionCount": 0,
    "createdAt": "2026-05-19T11:30:55.935Z",
    "updatedAt": "2026-05-19T11:30:55.935Z"
  }
}

Authorizations

Authorizations
string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

groupId
string
required
The unique identifier of the suppression group to update.

Body

name
string
Updated display name for the suppression group. Must be between 1 and 200 characters.
description
string
Updated description for the suppression group.
isActive
boolean
Whether the suppression group is active. Defaults to true if not specified.

Response

Suppression group updated successfully
success
boolean
Example: true
data
object
The updated suppression group.