Variants

Delete variants

Deletes variants from the workspace by their developer IDs. This can't be undone.

delete/variants

Request

  • Base URL: https://api.dittowords.com/v2
  • URL: https://api.dittowords.com/v2/variants
  • Auth: API key in header Authorization

Request body

developerIdsstring[] required

Developer IDs of the variants to delete. A variant can't be deleted while any text item or library component still has text for it, and one such variant rejects the whole batch. Style guides scoped to a deleted variant survive but stop being variant-scoped.

Example request

{
  "developerIds": [
    "fr-ca"
  ]
}

Response

Returns success status of the deletion operation

successboolean required

Indicates whether the deletion was successful

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.