ApiTokenDetailsDto
The API token details.
{
"acct": "string",
"allowedScopes": {
"generalScopes": [
"string"
],
"organizationScopes": {
"allPermissions": false,
"allRoles": false,
"keptInToken": [
"string"
],
"permissions": [
{
"permissionId": "string",
"resources": [
"string"
]
}
],
"roles": [
{
"name": "string",
"resource": "string"
}
]
},
"servicesScopes": [
{
"allPermissions": false,
"allRoles": false,
"keptInToken": [
"string"
],
"permissions": [
{
"permissionId": "string",
"resources": [
"string"
]
}
],
"roles": [
{
"name": "string",
"resource": "string"
}
],
"serviceDefinitionId": "string"
}
]
},
"createdAt": 0,
"deactivated": false,
"deactivatedUpdatedBy": "string",
"deactivatedUpdatedOn": 0,
"domain": "string",
"expiresAt": 0,
"idpId": "string",
"lastUsedAt": 0,
"orgId": "string",
"scope": [
"string"
],
"token": "string",
"tokenId": "string",
"tokenName": "string",
"userId": "string",
"username": "string"
}
The identifier of the user, configured to log in to the Identity provider.
The allowed general, organization and service scopes of access.
The timestamp the token was created at (measured in number of seconds since 1/1/1970 UTC).
deactivated
The user who updated the token's isDeactivated state
The timestamp the token's isDeactivated was last updated (measured in number of seconds since 1/1/1970 UTC).
The identity provider (IdP) domain of the user.
The timestamp the token expires at (measured in number of seconds since 1/1/1970 UTC).
The identifier of the identity provider.
The timestamp the token was last used (measured in number of seconds since 1/1/1970 UTC).
Unique identifier (GUID) of the organization.
The scope of access needed for the token
The value of the API token.
The unique identifier of the API token.
The name of the API token.
The unique identifier of the user, on behalf of which the token was issued.
Deprecated. The username of the user to whom the api token belongs