Schema
updateOrgAccessTokenRequest
Type:
object
description
Type:
string
Description of the access token
All schema constraints and annotations
{
"description": "Description of the access token",
"example": "Token for CI/CD pipeline",
"type": "string"
}is_active
Type:
boolean
Whether the token is active
All schema constraints and annotations
{
"description": "Whether the token is active",
"example": true,
"type": "boolean"
}label
Type:
string
Label for the access token
All schema constraints and annotations
{
"description": "Label for the access token",
"example": "My organization token",
"type": "string"
}resources
Type:
array
Resources this token has access to
Array item
Schema:
orgAccessTokenResource
All schema constraints and annotations
{
"description": "Resources this token has access to",
"items": {
"$ref": "#/components/schemas/orgAccessTokenResource"
},
"type": "array"
}All schema constraints and annotations
{
"examples": [
{
"description": "Token for CI/CD pipeline",
"is_active": true,
"label": "My organization token",
"resources": [
{
"path": "myorg/myrepo",
"scopes": [
"scope-image-pull"
],
"type": "TYPE_REPO"
}
]
}
],
"properties": {
"description": {
"description": "Description of the access token",
"example": "Token for CI/CD pipeline",
"type": "string"
},
"is_active": {
"description": "Whether the token is active",
"example": true,
"type": "boolean"
},
"label": {
"description": "Label for the access token",
"example": "My organization token",
"type": "string"
},
"resources": {
"description": "Resources this token has access to",
"items": {
"$ref": "#/components/schemas/orgAccessTokenResource"
},
"type": "array"
}
},
"type": "object"
}