Company logoTrust Center Documentation
API v1 ReferenceVariantsIdOptionsOptionid

Delete a variant option

Permanently delete an option belonging to the given variant. Cascades to its content assignments. Browse request parameters, authentication requirements,…

DELETE
/api/v1/variants/{id}/options/{optionId}

Permanently delete an option belonging to the given variant. Cascades to its content assignments.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
optionId*string

Response Body

application/json

curl -X DELETE "https://example.com/api/v1/variants/string/options/string"
{
  "success": true,
  "data": {
    "id": "opt-1"
  }
}
Empty
Empty
Empty

How is this guide?