Update a maintenance request category
Replaces the name and description of a maintenance request category and returns it. Both values are written from the request body, so omitting description clears it. Requires the maintenance_request_categories:write permission.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
maintenanceRequestCategoryIdstringrequiredThe category to update. A Snowflake id, sent as a decimal string.
example: 1830472847398404096
Body
application/json
namestringrequiredThe new category name. Between 1 and 150 characters.
descriptionstringThe new explanation, at most 2000 characters. Leave it out to clear the existing one.
Response
200 · The updated category.
idstringrequiredThe category.
companyIdstringrequiredThe company that owns the category.
namestringrequiredThe category name.
descriptionstringThe explanation, absent when none is set.
createdstring · date-timerequiredWhen the category was created, in the company's timezone and without an offset.
updatedstring · date-timerequiredWhen the category was last changed, in the company's timezone and without an offset.