Update an access token
PUT/v1/access-tokens/{access_token_id}
PUT
/v1/access-tokens/{access_token_id}
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”access_token_id
required
Access Token Id
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”UpdateAccessTokenRequest
object
scope
Any of:
AccessTokenScope
string
null
grants
Any of:
Array<string>
null
repository_ids
Any of:
Array<string>
null
Responses
Section titled “Responses”Successful Response
AccessToken
object
id
required
Id
string
scope
required
AccessTokenScope
string
grants
required
Grants
Array<string>
repositories
Repositories
Array<object>
AccessTokenRepositoryobject
id
required
Id
string
name
required
Name
string
full_name
required
Full Name
string
Not Found
GenericError
object
detail
Detail
Validation error
GenericError
object
detail
Detail