Docs
Update Module Category
PUT /moduleCategories/{moduleCategoryId}
PUT
/moduleCategories/{moduleCategoryId}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. |
Updates the name and icon of an existing module category.
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
| Field | Type | Required | Description |
|---|---|---|---|
| moduleCategoryId | Guid | Required | The ID of the module category to update. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | New display name for the category. |
| icon | string | Required | New icon identifier for the category. |
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token. |
NOT_FOUND | 404 | Module category not found for this event. |
BAD_REQUEST | 400 | Invalid name or icon value. |