Skip to main content
POST
Create access token for role

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
roleid
integer

ID of the role

rolename
string

Name of the role

finaltime
string

Absolute expiration time for the token

slidingtime
string

Sliding time period for the token

request_metadata
object

Additional metadata for the request

Response

Access token created successfully

status
string
Example:

"ok"

xtoken
string

The created access token