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