Assignments
assignRoles
Assign / unassign roles to users.
put/v1/permissions/assignments/{userId}
Request
- Base URLhttps://permissions.sls.epilot.io
- URLhttps://permissions.sls.epilot.io/v1/permissions/assignments/{userId}
- Auth
- HTTP bearer
- or API key in header x-epilot-org-id
Path parameters
userIdstring required
Id of a user
Example:1
Request body
Role Id[] required
List of role ids attached to an user
Example request
[ "123:owner" ]
Response
ok
Role Id[] required
List of role ids attached to an user
Example response
[ "123:owner" ]
Changes
No recorded changes to this operation across all 4 revisions of this API.