Replace a user's organizational unit scopes
PUT/organizational-units/users/:user_code/scopes
Assign every organizational unit of the named companies, or of every company, to a user, and keep granting the units created under them later. The body carries the whole intended set, so an omitted company is withdrawn. Units already granted stay assigned; remove them one by one to take them away.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
OK
Bad Request
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Not Found
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal Server Error