POST
/
users
/
{id}
/
manager
curl --request POST \
  --url https://api.neobrain.io/{version}/users/{id}/manager \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "managerId": 0,
  "roleId": 0
}'
{
  "id": 0,
  "employeeId": "ABC12345",
  "managerId": 0,
  "managerEmployeeId": "ABC12345",
  "roleId": 0
}

Authorizations

Authorization
string
header
required

API token for the Authorization header parameter.

Path Parameters

id
string
required

Resource identifier. It can be an integer or a string having the following format x-EMPLOYEE_ID, where EMPLOYEE_ID is a alpha numerical string and is related to employeeId field value.

Body

application/json

Response

201
application/json

Success

The response is of type object.