Get schema
https://api.datadoghq.com/api/v2/scim/Schemas/{schema_id}https://api.us3.datadoghq.com/api/v2/scim/Schemas/{schema_id}https://api.us5.datadoghq.com/api/v2/scim/Schemas/{schema_id}https://api.datadoghq.eu/api/v2/scim/Schemas/{schema_id}https://api.ap1.datadoghq.com/api/v2/scim/Schemas/{schema_id}https://api.ap2.datadoghq.com/api/v2/scim/Schemas/{schema_id}https://api.uk1.datadoghq.com/api/v2/scim/Schemas/{schema_id}https://api.ddog-gov.com/api/v2/scim/Schemas/{schema_id}https://api.us2.ddog-gov.com/api/v2/scim/Schemas/{schema_id}Descripción general
Get a single SCIM schema using the schema_id. Supported schema_id
values are urn:ietf:params:scim:schemas:core:2.0:User and
urn:ietf:params:scim:schemas:core:2.0:Group.
Argumentos
Parámetros de ruta
schema_id [required]The id of the schema to retrieve.
Respuesta
OK
Definition of a SCIM schema.
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.
{
"attributes": [
{
"canonicalValues": [],
"caseExact": false,
"description": "string",
"multiValued": false,
"mutability": "string",
"name": "string",
"referenceTypes": [],
"required": false,
"returned": "string",
"subAttributes": [
{
"canonicalValues": [],
"caseExact": false,
"description": "string",
"multiValued": false,
"mutability": "string",
"name": "string",
"referenceTypes": [],
"required": false,
"returned": "string",
"type": "string",
"uniqueness": "string"
}
],
"type": "string",
"uniqueness": "string"
}
],
"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"
}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"
]
}Ejemplo de código
# Path parameters
export schema_id="CHANGE_ME"
# 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/${schema_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export schema_id="CHANGE_ME"
# 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/${schema_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export schema_id="CHANGE_ME"
# 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/${schema_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export schema_id="CHANGE_ME"
# 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/${schema_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export schema_id="CHANGE_ME"
# 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/${schema_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export schema_id="CHANGE_ME"
# 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/${schema_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export schema_id="CHANGE_ME"
# 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/${schema_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export schema_id="CHANGE_ME"
# 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/${schema_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export schema_id="CHANGE_ME"
# 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/${schema_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"