Create an API token with full administrator privileges.

Prev Next
Post
/api/token

The API token is returned only once. Copy and keep it in a secure location. If you lose the token you will have to generate a new token again.

Security
HTTP
Type bearer
Body parameters
{
  "name": "admin-token1",
  "tokenExpirationDays": 60
}
object
id
string
name
string
expiresOn
string (date-time)
createdOn
string (date-time)
type
string
Valid values[ "DEFAULT", "SCIM", "ServiceIdentity" ]
tokenExpirationDays
integer (int32)

Any value between 1 and 90 days.

status
string
Valid values[ "Active", "Inactive" ]
lastAccessed
string (date-time)
assignedTo
string
token
string
createdBy
string
Responses
200

OK

object
id
string
name
string
expiresOn
string (date-time)
createdOn
string (date-time)
type
string
Valid values[ "DEFAULT", "SCIM", "ServiceIdentity" ]
tokenExpirationDays
integer (int32)

Any value between 1 and 90 days.

status
string
Valid values[ "Active", "Inactive" ]
lastAccessed
string (date-time)
assignedTo
string
token
string
createdBy
string