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.

Only users with the Admin role in the provided organization can perform this operation.

This endpoint does not cost any credits to execute.

Path Params
uuid
required

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

uuid
required

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

Body Params
roles
array of strings | null
required

Array of role identifiers to assign to the user

roles*
Headers
string
enum
Defaults to application/problem+json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/problem+json
application/json