POST
/
api
/
departments
/
{departmentId}
/
rooms
/
{roomId}
/
desks
/
{deskId}
/
set-fixed-user
curl --request POST \
  --url http://localhost/api/departments/{departmentId}/rooms/{roomId}/desks/{deskId}/set-fixed-user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

departmentId
string
required
roomId
string
required
deskId
string
required

Body

application/json
userId
string

Response

200
*/*
Fixed user successfully set
success
boolean