Docs

Delete Resource Type

DELETE /resourceTypes/{assetTypeId}

DELETE/resourceTypes/{assetTypeId}

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 removes an asset type from the event.

An asset type cannot be deleted if it is currently in use. The following will block deletion:

  • The asset type is referenced by a module template block (as an allowed asset type for a request).
  • The asset type is used by an existing advance request asset.
  • The asset type is used by an existing procurement asset.

Remove or update any of the above references before attempting to delete the asset type.

Event scoping: This endpoint does not include {eventId} in the URL. The event is determined automatically from your x-Event-Token.

Path Parameters

FieldTypeRequiredDescription
assetTypeIdGuidRequiredThe ID of the asset type to delete.

Response

200 OK — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404Asset type not found on this event.
BAD_REQUEST400Asset type is in use by a module template block, advance request, or procurement and cannot be deleted.