Return current PAK
GET/v2/pats/current
Returns current Personal Access Token. If the request is not authenticated with a Personal Access Token, it will return 400 response status.
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
user objectrequired
User who created the comment
id int64required
username stringrequired
name string
avatar object
large stringrequired
thumbnail stringrequired
deleted booleanrequired
lastUsedAt int64
expiresAt int64
createdAt int64required
updatedAt int64required
description stringrequired
id int64required
{
"user": {
"id": 0,
"username": "string",
"name": "string",
"avatar": {
"large": "string",
"thumbnail": "string"
},
"deleted": true
},
"lastUsedAt": 0,
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0,
"description": "string",
"id": 0
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...