Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Set variant group channel status

Sets a variant group’s publishing status on a channel. Requires an existing channel membership row for the variant group. Allowed status values are active, inactive, and incomplete.

PATCH/api/v1/{team_slug}/{app_slug}/channels/{channel_id}/variant-groups/{variant_group_id}/status
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
team_slugstringrequired

Team slug

app_slugstringrequired

App slug

channel_idstringrequired

Channel ID

variant_group_idstringrequired

Variant group ID

Request body
requiredapplication/json

Channel status payload

statusstringrequired
Allowed:activeinactiveincomplete
Responses
200

Updated variant group channel status

datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.ChannelVariantGroupStatusrequired
Show properties
channel_idstring
statusstring
variant_group_idstring
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request

detailsstring[]
messagestring
successbooleanrequired
404

Channel or variant group not found

detailsstring[]
messagestring
successbooleanrequired
422

Status validation failed

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH 'https://api.enad.io/api/v1/string/string/channels/string/variant-groups/string/status' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "status": "active"
}'
Response
{
  "data": {
    "channel_id": "string",
    "status": "string",
    "variant_group_id": "string"
  },
  "details": [
    "string"
  ],
  "success": true
}