v1

latestOpenAPI 3.1.02026-07-2481742657.4 KB
Account Management

Update a member's roles in an organization

Update the roles assigned to an organization member. This operation replaces a member's roles with the list provided in the request body. To remove all roles from a member, provide an empty list. To completely remove a member from an organization, use the remove member endpoint.<br><br>Only users with the Admin role in the provided organization can perform this operation.<br><br>This endpoint does not cost any credits to execute.

patch/v3/accounts/organizations/{organization_id}/members/{user_id}

Path parameters

organization_idstring uuid required

The ID of a Censys organization. See the Getting Started docs for more information.

Example:11111111-2222-3333-4444-555555555555

The ID of a Censys organization. See the Getting Started docs for more information.

user_idstring uuid required

The ID of a Censys user. You can obtain a user's ID by listing members of an organization.

Example:11111111-2222-3333-4444-555555555555

The ID of a Censys user. You can obtain a user's ID by listing members of an organization.

Request body

rolesstring[] nullable required

Array of role identifiers to assign to the user

Response

Organization member updated successfully