Share feedback
Answers are generated based on the documentation.

Schema

updateOrgAccessTokenResponse

Type: object

All constraints apply

Schema: orgAccessToken

Type: object

resources

Type: array

Resources this token has access to
Array item

Schema: orgAccessTokenResource

All schema constraints and annotations
{
  "$ref": "#/components/schemas/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
{
  "properties": {
    "resources": {
      "description": "Resources this token has access to",
      "items": {
        "$ref": "#/components/schemas/orgAccessTokenResource"
      },
      "type": "array"
    }
  },
  "type": "object"
}
All schema constraints and annotations
{
  "allOf": [
    {
      "$ref": "#/components/schemas/orgAccessToken"
    },
    {
      "properties": {
        "resources": {
          "description": "Resources this token has access to",
          "items": {
            "$ref": "#/components/schemas/orgAccessTokenResource"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  ],
  "examples": [
    {
      "created_at": "2022-05-20T00:54:18Z",
      "created_by": "johndoe",
      "expires_at": "2023-05-20T00:54:18Z",
      "id": "a7a5ef25-8889-43a0-8cc7-f2a94268e861",
      "is_active": true,
      "label": "My organization token",
      "last_used_at": "2022-06-15T12:30:45Z",
      "resources": [
        {
          "path": "myorg/myrepo",
          "scopes": [
            "scope-image-pull"
          ],
          "type": "TYPE_REPO"
        }
      ]
    }
  ],
  "type": "object"
}