# createOrgAccessTokenResponse


[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
{
  "allOf": [
    {
      "properties": {
        "created_at": {
          "example": "2022-05-20T00:54:18Z",
          "format": "date-time",
          "type": "string"
        },
        "expires_at": {
          "example": "2023-05-20T00:54:18Z",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "example": "a7a5ef25-8889-43a0-8cc7-f2a94268e861",
          "type": "string"
        },
        "is_active": {
          "example": true,
          "type": "boolean"
        },
        "label": {
          "example": "My organization token",
          "type": "string"
        },
        "last_used_at": {
          "example": "2022-06-15T12:30:45Z",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    {
      "properties": {
        "resources": {
          "items": {
            "$ref": "#/components/schemas/orgAccessTokenResource"
          },
          "type": "array"
        },
        "token": {
          "description": "The actual token value that can be used for authentication",
          "example": "dckr_oat_7awgM4jG5SQvxcvmNzhKj8PQjxo",
          "type": "string"
        }
      },
      "type": "object"
    }
  ],
  "examples": [
    {
      "created_at": "2022-05-20T00:54:18Z",
      "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"
        }
      ],
      "token": "dckr_oat_7awgM4jG5SQvxcvmNzhKj8PQjxo"
    }
  ],
  "type": "object"
}
```



