Skip to content

Department_Update

PUT
/v1/departments/{id}
curl --request PUT \
--url https://rms.dev.caspeco.net/api/booking/v1/departments/1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'system: example' \
--data '{ "id": 1, "name": "example", "hidden": true, "changeStatus": 0 }'
id
required
integer format: int64
system
required
string

The system name / database to query

Media typeapplication/json
object
id
integer format: int64
name
string
nullable
hidden
boolean
changeStatus
integer
Allowed values: 0 1 2 3
Media typeapplication/json
object
id
integer format: int64
name
string
nullable
hidden
boolean
changeStatus
integer
Allowed values: 0 1 2 3
Example
{
"changeStatus": 0
}