Docs

Delete Module Category

DELETE /moduleCategories/{moduleCategoryId}

DELETE/moduleCategories/{moduleCategoryId}

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.

Deletes a module category. The category must not be in use by any existing module templates — if it is, the request will fail with a 400 error.

Returns 200 OK with no body on success.

Event scoping: These endpoints do not include {eventId} in the URL. The event is determined automatically from your x-Event-Token — the API uses it to know which event's data to return. Ensure you have a valid event token before making any calls in this folder.

Path Parameters

FieldTypeRequiredDescription
moduleCategoryIdGuidRequiredThe ID of the module category to delete.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404Module category not found for this event.
BAD_REQUEST400Category is referenced by one or more module templates and cannot be deleted.