Skip to main content
PATCH
Update

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

ngrok-version
integer
default:2
required

Path Parameters

id
string
required

unique identifier of the access token to update

Body

application/json
id
string

unique identifier of the access token to update

description
string

human-readable description of this token. Optional, max 255 bytes.

scopes
string[]

replaces the token's scopes. Omit to keep them.

Response

Update the description or scopes of an access token by ID.

id
string

unique identifier of the access token

uri
string

URI of this access token API resource

description
string

human-readable description of this token

token
string

opaque bearer token secret. Only present in the Create response.

created_at
string

timestamp when the token was created, RFC 3339 format

expires_at
string

optional expiration time, RFC 3339 format. Omitted if the token does not expire.

revoked_at
string

optional timestamp when the token was revoked, RFC 3339 format. Omitted if not revoked.

scopes
string[]

scopes this token was granted. Effective access is also limited by the owner's current role.