# List schemas


[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



`GET /v2/scim/2.0/Schemas`

Returns all schemas supported for the SCIM configuration.


## Connection and access

[API connection and authentication guidance](/reference/api/hub/latest/#authentication)


Server: `https://hub.docker.com`

Effective security: alternatives are OR; schemes within an alternative are AND. An empty array declares no HTTP authentication requirement.

```json
[
  {
    "scimToken": []
  }
]
```
## Example request

Replace placeholders and provide the required credentials or request body.

```console
curl \
  --request GET \
  --header "Authorization: Bearer ${SCIM_TOKEN}" \
  --header 'Accept: application/scim+json' \
  'https://hub.docker.com/v2/scim/2.0/Schemas'
```

## Parameters

## Request and responses

### Response 200 application/scim+json




Schema:

```json
{
  "examples": [
    {
      "Resources": [
        {
          "attributes": [],
          "description": "User Account",
          "id": "urn:ietf:params:scim:schemas:core:2.0:User",
          "name": "User",
          "schemas": [
            "urn:ietf:params:scim:schemas:core:2.0:Schema"
          ]
        }
      ],
      "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:ListResponse"
      ],
      "totalResults": 1
    }
  ],
  "properties": {
    "Resources": {
      "items": {
        "$ref": "#/components/schemas/scim_schema"
      },
      "type": "array"
    },
    "schemas": {
      "items": {
        "example": "urn:ietf:params:scim:api:messages:2.0:ListResponse",
        "type": "string"
      },
      "type": "array"
    },
    "totalResults": {
      "example": 1,
      "type": "integer"
    }
  },
  "type": "object"
}
```




Schema example:
```json
{
  "Resources": [
    {
      "attributes": [],
      "description": "User Account",
      "id": "urn:ietf:params:scim:schemas:core:2.0:User",
      "name": "User",
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Schema"
      ]
    }
  ],
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
  ],
  "totalResults": 1
}
```


### Response 401 application/scim+json

Unauthorized


Schema:

```json
{
  "allOf": [
    {
      "$ref": "#/components/schemas/scim_error"
    },
    {
      "properties": {
        "status": {
          "example": "401"
        }
      }
    }
  ]
}
```




error:
```json
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:Error"
  ],
  "status": "401"
}
```


### Response 500 application/scim+json

Internal Error


Schema:

```json
{
  "allOf": [
    {
      "$ref": "#/components/schemas/scim_error"
    },
    {
      "properties": {
        "status": {
          "example": "500"
        }
      }
    }
  ]
}
```




error:
```json
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:Error"
  ],
  "status": "500"
}
```


## Complete operation contract

```json
{
  "description": "Returns all schemas supported for the SCIM configuration.\n",
  "operationId": "getV2Scim20Schemas",
  "responses": {
    "200": {
      "$ref": "#/components/responses/scim_get_schemas_resp"
    },
    "401": {
      "$ref": "#/components/responses/scim_unauthorized"
    },
    "500": {
      "$ref": "#/components/responses/scim_error"
    }
  },
  "security": [
    {
      "scimToken": []
    }
  ],
  "summary": "List schemas",
  "tags": [
    "scim"
  ]
}
```

## Referenced schemas

- `#/components/responses/scim_error`

- `#/components/responses/scim_get_schemas_resp`

- `#/components/responses/scim_unauthorized`




