Set user permissions

Set the permissions for a user of an organization.

Request
Security:
path Parameters
userId
required
string^[0-9]\d*$

The ID of user.

Example: 62
orgId
required
string

The ID of the organization. Obtain this from GET /organizations.

Example: 62
Request Body schema: application/json
role
required
string (Role)

The role of the entity.

Enum: "restricted" "user" "administrator" "supervisor"
required
Array of Group ID (integer) or All groups (integer)

The IDs of the groups to which the user should receive access.

Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

patch/users/{userId}/organizations/{orgId}/permissions
Request samples
application/json
{
  • "role": "restricted",
  • "organizationAccessEdgeGroupIds": [
    ]
}
Response samples
application/json
{
  • "requestId": "df5fg-45fgfdsg-45fg-45454"
}