Update a user's Platform-wide roles in an organization

Update the Platform-wide roles assigned to a user in an organization. This operation replaces a user's Platform-wide roles with the list provided in the request body. To remove all assigned Platform-wide roles from a user, provide an empty list. To completely remove a user from an organization, use the remove user endpoint.

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

This endpoint does not cost any credits to execute.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
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 users in an organization.

Body Params
roles
array of strings | null
required

The Platform-wide roles to assign to the user.

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

Generated from available response content types

Allowed:
Responses

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