Update PAK
PUT/v2/pats/:id
Updates Personal Access Token
Request
Path Parameters
id int64required
- application/json
Body
required
description stringrequired
New description of the PAT
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
id int64required
description stringrequired
expiresAt int64
createdAt int64required
updatedAt int64required
lastUsedAt int64
{
"id": 0,
"description": "string",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0,
"lastUsedAt": 0
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...