The following endpoints update and retrieve data about user organization roles of a user in an organization. Check out the .
Gets list of all users and their roles in the organization with the specified organizationId
. Get all user role IDs with the API call GET /users/roles
.
The ID of the user.
111
Specifies columns that are returned in the response. Use the cols[]
parameter for every column that you want to return in the response. For example GET /endpoint?cols[]=key1&cols[]=key2
to get both key1
and key2
columns in the response.
{"value":["userId","organizationId","usersRoleId","invitation","organizationTeamsCount","joinedTeamsCount"]}
Gets information about user role in an organization with the specified userId
and organizationId
. Get all user role IDs with the API call GET /users/roles
.
The ID of the user
254
The ID of the organization
11
Specifies columns that are returned in the response. Use the cols[]
parameter for every column that you want to return in the response. For example GET /endpoint?cols[]=key1&cols[]=key2
to get both key1
and key2
columns in the response.
{"value":["userId","organizationId","userRoleId","invitation","organizationTeamsCount","joinedTeamsCount"]}
Transfer organization ownership to the user with the specified userId
. Only organization owner can transfer their ownership to another user.
The ID of the user.
111
The ID of the organization.
11
Updates the specified user role in the organization. Only organization owners and admins can change the user organization roles. Refer to the Make Help center for a breakdown of the user .
Specify the ID of the new role for the user in the request body. Get all available user role IDs and the corresponding user role names with the API call GET /users/roles
.
You cannot change the organization "Owner" with this endpoint. Use the API call to transfer organization ownership instead.
If you send an empty request body, the user with the specified userId
will be removed from the organization.
The ID of the user.
5
The ID of the organization.
22
Specifies columns that are returned in the response. Use the cols[]
parameter for every column that you want to return in the response. For example GET /endpoint?cols[]=key1&cols[]=key2
to get both key1
and key2
columns in the response.
{"value":["userId","organizationId","usersRoleId","invitation","organizationTeamsCount","joinedTeamsCount"]}
Use this parameter when you are removing a user from an organization. Set this parameter to true
is you want to delete the user's connections from the organization with the parameter deleteConnections
.
{"value":true}
Set this parameter to true
if you are removing a user from an organization to delete also the user's connections. If you set this parameter to false
, the API call won't delete the user's connections.
{"value":true}
The ID of the user role. Check the GET /users/roles
API call for the available usersRoleId
values.