# orgAccessTokenResource


[API catalog](/reference/api/) · [Docker Hub overview](/reference/api/hub/latest/) · [Product manual](https://docs.docker.com/docker-hub/) · [OpenAPI specification](/reference/api/hub/latest.yaml)

API version: 2-beta



Schema constraints and annotations:

```json
{
  "properties": {
    "path": {
      "description": "The path of the resource. The format of this will change depending on the type of resource.\n\nFor TYPE_REPO resources:\n- Must be an existing repository name (e.g., \"myorg/myrepo\")\n- Can use glob patterns (e.g., \"myorg/*\" for all repositories in the organization)\n- Use \"*/*/public\" to reference all public repositories\n",
      "example": "myorg/myrepo",
      "type": "string"
    },
    "scopes": {
      "description": "The scopes this token has access to",
      "items": {
        "example": "scope-image-pull",
        "type": "string"
      },
      "type": "array"
    },
    "type": {
      "description": "The type of resource",
      "enum": [
        "TYPE_REPO",
        "TYPE_ORG"
      ],
      "example": "TYPE_REPO",
      "type": "string"
    }
  },
  "required": [
    "type",
    "path",
    "scopes"
  ],
  "type": "object"
}
```



