Set user role
PUT/v2/organizations/:organizationId/users/:userId/set-role
Sets user role in organization. Owner or Member.
Request
Path Parameters
organizationId int64required
userId int64required
- application/json
Body
required
roleType stringrequired
Possible values: [MEMBER
, OWNER
]
Responses
- 200
- 400
- 401
- 403
- 404
OK
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...