Delegate Token Resource
Contains APIs related to Delegate Token management
Name of Delegate Token (ACTIVE or REVOKED).
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be retrieved
Successfully retrieved list of delegate tokens
Value of delegate token. This is only populated when fetching delegate token by name or the user has edit delegate permission.
Bad Request
Internal server error
GET /gateway/ng/api/delegate-token-ng?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"uuid": "text",
"accountId": "text",
"name": "text",
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"createdByNgUser": {
"type": "USER",
"name": "text",
"jwtclaims": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"createdAt": 1,
"status": "ACTIVE",
"value": "text",
"ownerIdentifier": "text",
"parentUniqueId": "text",
"revokeAfter": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Delegate Token name
Epoch time in milliseconds after which the token will be marked as revoked. There can be a delay of upto one hour from the epoch value provided and actual revoking of the token.
Successfully created delegate token
Value of delegate token. This is only populated when fetching delegate token by name or the user has edit delegate permission.
Bad Request
Internal server error
POST /gateway/ng/api/delegate-token-ng?accountIdentifier=text&tokenName=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"uuid": "text",
"accountId": "text",
"name": "text",
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"createdByNgUser": {
"type": "USER",
"name": "text",
"jwtclaims": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"createdAt": 1,
"status": "ACTIVE",
"value": "text",
"ownerIdentifier": "text",
"parentUniqueId": "text",
"revokeAfter": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Delegate Token name
Successfully revoked delegate token
Value of delegate token. This is only populated when fetching delegate token by name or the user has edit delegate permission.
Bad Request
Internal server error
PUT /gateway/ng/api/delegate-token-ng?accountIdentifier=text&tokenName=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"uuid": "text",
"accountId": "text",
"name": "text",
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"createdByNgUser": {
"type": "USER",
"name": "text",
"jwtclaims": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"createdAt": 1,
"status": "ACTIVE",
"value": "text",
"ownerIdentifier": "text",
"parentUniqueId": "text",
"revokeAfter": 1
}Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Delegate Token name
Successfully deleted delegate token, no content returned
No content
Bad Request
Internal server error
DELETE /gateway/ng/api/delegate-token-ng?accountIdentifier=text&tokenName=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
No content
Account Identifier for the Entity.
Organization Identifier for the Entity.
Project Identifier for the Entity.
Delegate Token name
Successfully retrieved list of delegate groups using the specified token
Bad Request
Internal server error
GET /gateway/ng/api/delegate-token-ng/delegate-groups?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"delegateGroupDetails": [
{
"groupId": "text",
"delegateGroupIdentifier": "text",
"delegateType": "text",
"groupName": "text",
"delegateDescription": "text",
"delegateConfigurationId": "text",
"groupImplicitSelectors": {
"ANY_ADDITIONAL_PROPERTY": "PROFILE_NAME"
},
"groupCustomSelectors": [
"text"
],
"lastHeartBeat": 1,
"connectivityStatus": "text",
"activelyConnected": true,
"grpcActive": true,
"delegateInstanceDetails": [
{
"uuid": "text",
"lastHeartbeat": 1,
"activelyConnected": true,
"hostName": "text",
"tokenActive": true,
"version": "text",
"delegateExpirationTime": 1,
"polllingModeEnabled": true,
"connections": [
{
"uuid": "text",
"version": "text",
"lastHeartbeat": 1,
"lastGrpcHeartbeat": 1
}
],
"delegateInstanceVersionStatus": "EXPIRED",
"runner": true,
"disabled": true,
"ztsDetails": {
"ztsEnabled": true,
"ztsEnforce": true,
"ztsTimeoutSeconds": 1,
"ztsRetryCount": 1,
"ztsMode": "ENFORCE"
}
}
],
"tokenActive": true,
"autoUpgrade": "ON",
"delegateGroupExpirationTime": 1,
"delegateVersion": "text",
"upgraderLastUpdated": 1,
"immutable": true,
"groupVersion": "text",
"delegateGroupVersionStatus": "EXPIRED",
"delegateVersionStatusInstanceLevelCount": {
"counts": {
"ANY_ADDITIONAL_PROPERTY": 1
}
},
"ztsDetails": {
"ztsEnabled": true,
"ztsEnforce": true,
"ztsTimeoutSeconds": 1,
"ztsRetryCount": 1,
"ztsMode": "ENFORCE"
},
"unsupported": true
}
],
"delegateVersionStatusAggregatedCount": {
"counts": {
"ANY_ADDITIONAL_PROPERTY": 1
}
},
"autoUpgradeOffCount": 1
}Last updated
Was this helpful?