Get a resource type Run in API Explorer
Returns a resource type by name.
GET
/v2/scim/2.0/ResourceTypes/{name}
curl \
--request GET 'https://hub.docker.com/v2/scim/2.0/ResourceTypes/User' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"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 (404)
{
"status": "404",
"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"
}