API ReferenceDepartment
Update department
Update department
Authorization
apiKey Authorization<token>
Value for the Authorization header parameter.
In: header
Path Parameters
id*string
Department identifier
The updated Department resource
TypeScript Definitions
Use the request body type in TypeScript.
name*string
Length
length <= 100Response Body
curl -X PUT "https://example.com/user/departments/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string"}