v1
latestOpenAPI 3.0.32026-07-12132428.7 KBAssignments
addAssignment
Assign a user to a role.
Use the x-epilot-org-id header to assign share roles to users in other orgs
post/v1/permissions/assignments/{userId}/{roleId}
Path parameters
userIdstring required
Id of a user
Example:1
roleIdstring required
Format: <organization_id>:<slug>
Example:123:owner
Response
ok
Example response
{
"user_id": "1",
"roles": [
"123:owner"
]
}