public
TokenInfo

Gets a specific token associated with a user

get/users/{userId}/tokens/{tokenId}

Request

  • Base URL
    https://api.humanitec.io
  • URL
    https://api.humanitec.io/users/{userId}/tokens/{tokenId}
  • Auth
    none declared

Path parameters

userIdstring required

The user ID.

tokenIdstring required

The token ID.

Response

Metadata about the token.

created_atstring required
created_bystring required
descriptionstring required
expires_atstring
idstring required
typestring required

Example response

{
  "created_at": "2021-04-30T19:47:01Z",
  "description": "Humanitec API Calls from CircleCI Pipelines",
  "expires_at": "2022-04-30T19:47:01Z",
  "id": "circle-ci-token",
  "type": "static",
  "user_id": "a7a04740ae985f12af58545e4edbac6a"
}

Changes

No recorded changes to this operation across all 9 revisions of this API.