Create Tenant Vff License Token (v2.0)
POST/v2.0/api/tenants/:tenant_id/vfflicenses/:license_id/tokens
Create a tenant Vff license token.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
license_id stringrequired
The license ID.
- application/json
Body
id string
The ID of the vff token.
ion_key string
The ION key.
is_expired boolean
Is vff token expired. True or False.
is_multiuse boolean
Is the vff token multiuse. True or False.
is_revoked boolean
Can the vff token be revoked. True or False.
is_used boolean
Is the vff token in use. True or False.
secret_key string
The secret key.
valid_till_secs int64
The token valid time in seconds.
vfflicense_id string
The vff license ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID of the vff token.
ion_key string
The ION key.
is_expired boolean
Is vff token expired. True or False.
is_multiuse boolean
Is the vff token multiuse. True or False.
is_revoked boolean
Can the vff token be revoked. True or False.
is_used boolean
Is the vff token in use. True or False.
secret_key string
The secret key.
valid_till_secs int64
The token valid time in seconds.
vfflicense_id string
The vff license ID.
{
"id": "string",
"ion_key": "string",
"is_expired": true,
"is_multiuse": true,
"is_revoked": true,
"is_used": true,
"secret_key": "string",
"valid_till_secs": 0,
"vfflicense_id": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "TOKEN_CONFIG_INVALID_POST_VALUES"
},
{
"code": "LICENSE_UNKNOWN"
},
{
"code": "ION_MAX_LIMIT"
},
{
"code": "ERROR_IN_TOKEN_GENERATION"
}
]
}
}
Loading...