List schemas
https://api.datadoghq.com/api/v2/scim/Schemashttps://api.us3.datadoghq.com/api/v2/scim/Schemashttps://api.us5.datadoghq.com/api/v2/scim/Schemashttps://api.datadoghq.eu/api/v2/scim/Schemashttps://api.ap1.datadoghq.com/api/v2/scim/Schemashttps://api.ap2.datadoghq.com/api/v2/scim/Schemashttps://api.uk1.datadoghq.com/api/v2/scim/Schemashttps://api.ddog-gov.com/api/v2/scim/Schemashttps://api.us2.ddog-gov.com/api/v2/scim/Schemas概要
List the SCIM schemas supported by this service provider. See RFC 7644 Section 4 for more information.
応答
OK
List schemas response object.
ResourcesList of schemas supported by this SCIM service provider.
attributesA list of attributes that make up the schema.
canonicalValuesA collection of canonical values.
caseExactA Boolean value that specifies whether or not a string attribute is case sensitive.
descriptionThe attribute's human-readable description.
multiValuedA Boolean value indicating an attribute's plurality.
mutabilityA single keyword indicating the circumstances under which the value of the attribute can be (re)defined.
nameThe attribute's name.
referenceTypesA list of resource types or external resources the reference may refer to.
requiredA Boolean value that specifies whether or not the attribute is required.
returnedA single keyword that indicates when an attribute and associated values are returned in response to a GET request or in response to a PUT, POST, or PATCH request.
subAttributesA list of sub-attributes for complex attributes.
canonicalValuesA collection of canonical values.
caseExactA Boolean value that specifies whether or not a string attribute is case sensitive.
descriptionThe attribute's human-readable description.
multiValuedA Boolean value indicating an attribute's plurality.
mutabilityA single keyword indicating the circumstances under which the value of the attribute can be (re)defined.
nameThe sub-attribute's name.
referenceTypesA list of resource types or external resources the reference may refer to.
requiredA Boolean value that specifies whether or not the attribute is required.
returnedA single keyword that indicates when an attribute and associated values are returned in response to a GET request or in response to a PUT, POST, or PATCH request.
typeThe data type of the attribute.
uniquenessA single keyword value that specifies how the service provider enforces uniqueness of attribute values.
typeThe data type of the attribute.
uniquenessA single keyword value that specifies how the service provider enforces uniqueness of attribute values.
descriptionHuman-readable description of the schema.
idThe unique URI of the schema.
metaMetadata associated with a SCIM schema.
locationURL identifying the schema.
resourceTypeType of resource.
nameThe human-readable name of the schema.
itemsPerPageNumber of schemas returned per page.
schemasList response JSON Schemas.
startIndexStarting index of the schemas for this page (1-indexed).
totalResultsTotal number of schemas.
{
"Resources": [
{
"description": "User Schema",
"id": "urn:ietf:params:scim:schemas:core:2.0:User",
"meta": {
"location": "https://app.datadoghq.com/api/v2/scim/Schemas/urn:ietf:params:scim:schemas:core:2.0:User",
"resourceType": "Schema"
},
"name": "User"
},
{
"description": "Group Schema",
"id": "urn:ietf:params:scim:schemas:core:2.0:Group",
"meta": {
"location": "https://app.datadoghq.com/api/v2/scim/Schemas/urn:ietf:params:scim:schemas:core:2.0:Group",
"resourceType": "Schema"
},
"name": "Group"
}
],
"itemsPerPage": 2,
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"startIndex": 1,
"totalResults": 2
}Not Found
API error response.
errors [required]A list of errors.
{
"errors": [
"Bad Request"
]
}Too many requests
API error response.
errors [required]A list of errors.
{
"errors": [
"Bad Request"
]
}コード例
# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
export DD_BEARER_TOKEN="<DD_BEARER_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/scim/Schemas" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
export DD_BEARER_TOKEN="<DD_BEARER_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/scim/Schemas" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
export DD_BEARER_TOKEN="<DD_BEARER_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/scim/Schemas" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
export DD_BEARER_TOKEN="<DD_BEARER_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/scim/Schemas" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
export DD_BEARER_TOKEN="<DD_BEARER_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/scim/Schemas" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
export DD_BEARER_TOKEN="<DD_BEARER_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/scim/Schemas" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
export DD_BEARER_TOKEN="<DD_BEARER_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/scim/Schemas" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
export DD_BEARER_TOKEN="<DD_BEARER_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/scim/Schemas" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
export DD_BEARER_TOKEN="<DD_BEARER_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/scim/Schemas" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"