Update users

patch

https://{your_site_interface}/opa-hub/api/12.2.35/users

This operation will update users.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : userPatch
Type: object
Show Source
Nested Schema : adminRoles
Type: array
An array of Administrator roles for this user.
Show Source
  • Allowed Values: [ "Permissions Administrator", "Connections Administrator" ]
Nested Schema : workspaces
Type: array
The list of workspaces that the user has roles in.
Show Source
Nested Schema : userWorkspacePatch
Type: object
Show Source
Nested Schema : roles
Type: array
The list of roles that the user has in the workspace.
Show Source
  • Allowed Values: [ "Deploy Admin", "Policy Author", "Determinations API", "Chat Service", "Viewer" ]
Security
  • Type: apiKey
    Description: Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
  • Type: oauth2
    Description: POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Back to Top

Response

Supported Media Types

200 Response

The request was successfully completed.
Body ()
Root Schema : users
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : user
Type: object
Show Source
Nested Schema : adminRoles
Type: array
An array of Administrator roles for this user.
Show Source
  • Allowed Values: [ "Permissions Administrator", "Connections Administrator" ]
Nested Schema : workspaces
Type: array
The list of workspaces that the user has roles in.
Show Source
Nested Schema : userWorkspace
Type: object
Show Source
Nested Schema : roles
Type: array
The list of roles that the user has in the workspace.
Show Source
  • Allowed Values: [ "Deploy Admin", "Policy Author", "Determinations API", "Chat Service", "Viewer" ]
Back to Top