Creates a Token for the given API Key Type.
Bad Request
Internal server error
Returns created Token details
{- "identifier": "string",
- "name": "string",
- "validFrom": 0,
- "validTo": 0,
- "scheduledExpireTime": 0,
- "valid": true,
- "accountIdentifier": "string",
- "projectIdentifier": "string",
- "orgIdentifier": "string",
- "apiKeyIdentifier": "string",
- "parentIdentifier": "string",
- "apiKeyType": "USER",
- "description": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "sshKeyContent": "string",
- "sshKeyUsage": [
- "AUTH"
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Updates a Token for the given API Key Type.
Bad Request
Internal server error
Returns updated Token details
{- "identifier": "string",
- "name": "string",
- "validFrom": 0,
- "validTo": 0,
- "scheduledExpireTime": 0,
- "valid": true,
- "accountIdentifier": "string",
- "projectIdentifier": "string",
- "orgIdentifier": "string",
- "apiKeyIdentifier": "string",
- "parentIdentifier": "string",
- "apiKeyType": "USER",
- "description": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "sshKeyContent": "string",
- "sshKeyUsage": [
- "AUTH"
]
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Deletes a Token for the given API Key Type.
Bad Request
Internal server error
It returns true if the Token is deleted successfully and false if the Token is not deleted.
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Lists all the Tokens matching the given search criteria.
Bad Request
Internal server error
Returns the list of Aggregated Tokens.
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Rotates a Token for the given API Key Type.
Bad Request
Internal server error
Returns the rotated Token
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Validate a Token for the given account.
Bad Request
Internal server error
Validate a Token for the given account
"string"
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}