List resource types Run in API Explorer

GET /v2/scim/2.0/ResourceTypes

Returns all resource types supported for the SCIM configuration.

Responses

  • 200 application/scim+json
    Hide response attributes Show response attributes object
    • schemas array[string]
    • totalResults integer
    • resources array[object]
      Hide resources attributes Show resources attributes object
      • schemas array[string]
      • id string
      • name string
      • description string
      • endpoint string
      • schema string
  • 401 application/scim+json

    Unauthorized

    Hide response attributes Show response attributes object
    • status string

      The status code for the response in string format.

    • schemas array[string]

      Default value is urn:ietf:params:scim:api:messages:2.0:Error.

    • detail string

      Details about why the request failed.

  • 500 application/scim+json

    Internal Error

    Hide response attributes Show response attributes object
    • status string

      The status code for the response in string format.

    • schemas array[string]

      Default value is urn:ietf:params:scim:api:messages:2.0:Error.

    • detail string

      Details about why the request failed.

GET /v2/scim/2.0/ResourceTypes
curl \
 --request GET 'https://hub.docker.com/v2/scim/2.0/ResourceTypes' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
  ],
  "totalResults": 1,
  "resources": [
    {
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
      ],
      "id": "User",
      "name": "User",
      "description": "User",
      "endpoint": "/Users",
      "schema": "urn:ietf:params:scim:schemas:core:2.0:User"
    }
  ]
}
Response examples (401)
{
  "status": "401",
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:Error"
  ],
  "detail": "string"
}
Response examples (500)
{
  "status": "500",
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:Error"
  ],
  "detail": "string"
}