Docs
Delete Resource Type
DELETE /resourceTypes/{resourceTypeId}
DELETE
/resourceTypes/{resourceTypeId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Deletes a resource type with its sections, placements, variants, modifiers and owned rate cards. Attribute values stay with the library attribute.
Refused while a module template, an advance request or a procurement uses the type, while another type uses it as a component, or while its rate cards are used outside the type (a resource, need, reservation or fulfillment item).
Event scoping: This endpoint does not include
{eventId} in the URL. The event is determined automatically from your x-Event-Token.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | Guid | Required | The resource type. |
Response
200 OK. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | The type is in use (see above). |
| 404 | Resource type not found. |