latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
TokenInfo

Gets a specific token associated with a user

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

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"
}