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.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Permanently deletes a rate card with its rates and reset definitions.

The delete is refused while anything points at the card: a variant, a resource, a need, a reservation or a fulfillment item. 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 EventSettings permission on the event.
Event scoping: This endpoint does not include {eventId} in the URL. The event is determined automatically from your x-Event-Token.

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 referenced. The message names the counts.
403Missing EventSettings.
404Resource type or card not found on this event.