Docs

Update Module Template

PUT /moduleTemplates/{moduleTemplateId}

PUT/moduleTemplates/{moduleTemplateId}

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.

Updates the name, label, icon, and category of an existing module template.

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
moduleTemplateIdGuidRequiredThe ID of the module template to update.

Request Body

FieldTypeRequiredDescription
namestringRequiredInternal name for the module template.
labelstringRequiredDisplay label shown in the UI.
iconstringRequiredIcon identifier for the module.
categoryIdGuidRequiredID of the module category for this template.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
NOT_FOUND404Module template or category not found for this event.
BAD_REQUEST400Invalid or missing required fields.