Skip to content

Update user roles

PUT
/orgs/{orgId}/user-roles/{userId}

Update user roles

Authorizations

Parameters

Path Parameters

orgId
required
string
userId
required
string

Request Body required

object
orgRoleId
required
Array<string>
[
"2",
"1",
"3"
]

Responses

200

Success

object
message
required
string
Success
success
required
boolean
data
required
object
statusCode
required
number
200

401

Unauthorized

object
statusCode
required
number
401
error
required
string
Unauthorized

403

Forbidden

object
statusCode
required
number
403
error
required
string
Forbidden