DevZero Logo
DevZero

Get a personal access token by id

GET
/users/{user_id}/pat/{pat_id}
/users/{user_id}/pat/{pat_id}

Path Parameters

user_id
Required
string

ID of user

pat_id
Required
string

ID of pat

Header Parameters

Authorization
Required
string

sub claim pulled from JWT

curl -X GET "https://api.devzero.io/backend/v0/users/string/pat/string" \
  -H "Authorization: string"

ok

{
  "content": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "expiry": "2019-08-24T14:15:22Z",
  "id": "string",
  "lasted_used": "2019-08-24T14:15:22Z",
  "name": "string"
}