# createOrgAccessTokenRequest


[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
{
  "examples": [
    {
      "description": "Token for CI/CD pipeline",
      "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"
    },
    "expires_at": {
      "description": "Expiration date for the token",
      "example": "2023-05-20T00:54:18Z",
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "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"
      },
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "label",
    "resources"
  ],
  "type": "object"
}
```



