Delegate Token Resource

Contains APIs related to Delegate Token management

Retrieves Delegate Tokens by Account, Organization, Project and status.Deprecated

Securityx-api-key
Request
query Parameters
name
string

Name of Delegate Token (ACTIVE or REVOKED).

accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

status
string

Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be retrieved

Enum: "ACTIVE" "REVOKED"
Responses
400

Bad Request

500

Internal server error

default

A list of Delegate Tokens

get/ng/api/delegate-token-ng
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Revokes Delegate Token.Deprecated

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

tokenName
required
string

Delegate Token name

Responses
400

Bad Request

500

Internal server error

default

200 Ok response if everything successfully revoked token

put/ng/api/delegate-token-ng
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Creates Delegate Token.Deprecated

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

tokenName
required
string

Delegate Token name

revokeAfter
integer <int64>

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.

Responses
400

Bad Request

500

Internal server error

default

A created Token.

post/ng/api/delegate-token-ng
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Lists delegate groups that are using the specified delegate token.Deprecated

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

delegateTokenName
string

Delegate Token name

Responses
400

Bad Request

500

Internal server error

default

A list of delegate groups that are usign the specified token.

get/ng/api/delegate-token-ng/delegate-groups
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}