Skip to content

Refresh a personal access token

POST
/drop_points/{id}/agreements/{agreement_id}/personal_access_tokens/{pat_id}/refresh
curl --request POST \
--url https://example.com/drop_points/example/agreements/example/personal_access_tokens/example/refresh \
--header 'Content-Type: application/json' \
--data '{ "expires_at": "example" }'
id
required
string
agreement_id
required
string
pat_id
required
string
Media type application/json
object
expires_at
required
string
Example generated
{
"expires_at": "example"
}
Media type application/json
object
id
required
string
name
required
string
user_agreement_id
required
string
last_used
required
Any of:
string
created_at
required
string
refreshed_at
required
Any of:
string
expires_at
required
Any of:
string
acl_permissions
required
Array<object>
object
resource
required
string
get
required
boolean
put
required
boolean
post
required
boolean
patch
required
boolean
delete
required
boolean
query
required
boolean
token
required
string
Example generated
{
"id": "example",
"name": "example",
"user_agreement_id": "example",
"last_used": "example",
"created_at": "example",
"refreshed_at": "example",
"expires_at": "example",
"acl_permissions": [
{
"resource": "example",
"get": true,
"put": true,
"post": true,
"patch": true,
"delete": true,
"query": true
}
],
"token": "example"
}