latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
TokenInfo

Lists tokens associated with a user

get/users/{userId}/tokens

Path parameters

userIdstring required

The user ID.

Response

A possibly empty list of tokens.

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