ReDoc documentation

company/assignRoles

company/assignRoles

put/V1/company/assignRoles

Change a role for a company user.

Request
Request Body schema:
required
Array of objects (company-data-role-interface)
userId
required
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "userId": 0,
  • "roles": [
    ]
}
Response samples
true