Get a user

get

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

This operation will get a user.

Request

Path Parameters
Query Parameters
  • Comma separated list of named resources to expand, or "all" to expand all
  • Comma separated list of fields to be returned
  • Comma separated list of links to be returned, or "none" to omit links

There's no request body for this operation.

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 : 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