Docs

Delete Resource Type Rate Card

DELETE /resourceTypes/{resourceTypeId}/rate-cards/{rateCardId}

DELETE/resourceTypes/{resourceTypeId}/rate-cards/{rateCardId}

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.

Permanently deletes a rate card with its rates and reset definitions. This replaces the flat DELETE rate-cards/{rateCardId}.

The delete is refused while a variant or a resource links the card. The usage counts on Get Resource Type Rate Cards show what's in the way. The type's own default doesn't block it: deleting the default makes another of the type's cards the default, or clears it when none remain.

Requires ResourceTypeDatabase.Edit permission.

Path Parameters

FieldTypeRequiredDescription
resourceTypeIdGuidRequiredThe owning resource type.
rateCardIdGuidRequiredThe card to delete.

Response

200 OK. No response body.

Error Codes

HTTP StatusDescription
400The card is still linked. The message names the counts.
403Missing ResourceTypeDatabase.Edit.
404Resource type or card not found in this organization.