For the complete documentation index, see llms.txt. This page is also available as Markdown.

Users

Parameters

The users structure contains an integer parameter named acl. This represents the user's Access Level.

When setting this value through the API, the allowable range is from 1 to 20:

  • 1-10 is a WAAP Viewer.

  • 11-20 is a WAAP Editor.

Users can also have an acl value in the range 21-100. This is a WAAP manager.

The WAAP manager access level cannot be assigned to a user through the API. If you need to do this, contact support.

Operations

Get list of users

get
Responses
200

Users were retrieved successfully

application/json
idstringRequired
namestringRequired
get/api/v4.3/accounts/users

Create new user

post

Create new user

Body
aclinteger · max: 20Required
contact_namestringRequired
emailstring · emailRequired
mobilestringRequired
org_idstringRequired
Responses
200

New user was created successfully

application/json
idstringRequired
post/api/v4.3/accounts/users

Get user details

get
Path parameters
entry_idstringRequired

Account ID

Responses
200

User details were retrieved successfully

application/json
aclinteger · max: 20Required
contact_namestringRequired
emailstring · emailRequired
idstringRequired
mobilestringRequired
org_idstringRequired
org_namestringRequired
otpseedstringRequired
get/api/v4.3/accounts/{entry_id}

Modify user

put

Update details of a user

Path parameters
entry_idstringRequired

Account ID

Body
aclinteger · max: 20Required
contact_namestringRequired
mobilestringRequired
Responses
200

User updated successfully

application/json
anyOptional
put/api/v4.3/accounts/{entry_id}

No content

Delete user

delete

Delete user by user id

Path parameters
entry_idstringRequired

Account ID

Responses
200

User was deleted successfully

application/json
anyOptional
delete/api/v4.3/accounts/{entry_id}

No content

Get all API keys associated with the planet

get
Responses
200

API keys received successfully

application/json
totalintegerOptionalExample: 1
get/api/v4.3/accounts/api-keys

Delete an API key

put

Revokes API key and makes it unavailable for use

Path parameters
entry_idstringRequired

API key ID

Responses
200

API key was revoked successfully

application/json
anyOptional
put/api/v4.3/accounts/api-keys/{entry_id}

No content

Get API keys for a user

get
Path parameters
entry_idstringRequired

Account ID

Responses
200

API keys for specified user were retrieved successfully

application/json
totalintegerOptionalExample: 1
get/api/v4.3/accounts/{entry_id}/api-keys

Generate an API key for a user

post
Path parameters
entry_idstringRequired

Account ID

Body
titlestring · min: 1Required
Responses
200

API key for specified user was generated successfully

application/json
anyOptional
post/api/v4.3/accounts/{entry_id}/api-keys

No content

Get SSO Config for the planet

get
Responses
200

SSO config retrieved successfully

application/json
enabledbooleanOptional

Is that profile enabled or not.

Default: false
paramsany ofRequired

SSO provider parameters

or
protocolstring · enumRequiredPossible values:
providerstring · enumRequired

An enumeration.

Possible values:
titlestringRequired

Title of the SSO profile that will be displayed on the login page.

get/api/v4.3/accounts/sso

Add/Update SSO Config of OAuth2 protocol for the planet

post
Body
enabledbooleanOptional

Is that profile enabled or not.

Default: false
protocolstring · enumRequiredPossible values:
providerstring · enumRequired

An enumeration.

Possible values:
titlestringRequired

Title of the SSO profile that will be displayed on the login page.

Responses
201

SSO config was updated successfully

application/json
cert_thumbprintstringOptional

Certificate thumbprint to show user certificate if correct. Is used only for user output.

codeintegerRequired
messagestringRequired
post/api/v4.3/accounts/sso/oauth2

Add/Update SSO Config of SAML2 protocol for the planet

post
Body
enabledbooleanOptional

Is that profile enabled or not.

Default: false
protocolstring · enumRequiredPossible values:
providerstring · enumRequired

An enumeration.

Possible values:
titlestringRequired

Title of the SSO profile that will be displayed on the login page.

Responses
201

SSO config was updated successfully

application/json
cert_thumbprintstringOptional

Certificate thumbprint to show user certificate if correct. Is used only for user output.

codeintegerRequired
messagestringRequired
post/api/v4.3/accounts/sso/saml2

Last updated

Was this helpful?