Unpublish Variant

Unpublish a variant for terms.

post
Path parameters
termsAndConditionsIdstringRequired
idstringRequired
productIdstringRequired
Responses
200
OK
application/json
post
POST /public/v1/catalog/products/{productId}/terms/{termsAndConditionsId}/variants/{id}/unpublish HTTP/1.1
Host: api.platform.softwareone.com
Accept: */*
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-07-02T01:05:41.849Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-07-02T01:05:41.849Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "type": "text",
  "assetUrl": "text",
  "languageCode": "text",
  "name": "text",
  "description": "text",
  "status": "text",
  "filename": "text",
  "size": 1,
  "contentType": "text",
  "termsAndConditions": {
    "id": "text",
    "name": "text"
  },
  "fileId": "text"
}

Last updated

Was this helpful?