Docs

Delete Variant

DELETE /resourceTypes/{resourceTypeId}/variants/{variantId}

DELETE/resourceTypes/{resourceTypeId}/variants/{variantId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Organization tokenx-Organization-TokenOptionalRun **Authorize Organization** in the Authorization folder.

Deletes or archives a variant. Refused for the base variant and while a composite's component pins it.

Requires ResourceTypeDatabase.Edit permission.

Path Parameters

FieldTypeRequiredDescription
resourceTypeIdGuidRequiredThe resource type.
variantIdGuidRequiredThe variant.

Response

200 OK. No response body.

Error Codes

HTTP StatusDescription
400Base variant, or a component uses this variant.
404Variant not found.