Get resource type
GET
https://api.datadoghq.com/api/v2/scim/ResourceTypes/{resource_id}https://api.us3.datadoghq.com/api/v2/scim/ResourceTypes/{resource_id}https://api.us5.datadoghq.com/api/v2/scim/ResourceTypes/{resource_id}https://api.datadoghq.eu/api/v2/scim/ResourceTypes/{resource_id}https://api.ap1.datadoghq.com/api/v2/scim/ResourceTypes/{resource_id}https://api.ap2.datadoghq.com/api/v2/scim/ResourceTypes/{resource_id}https://api.uk1.datadoghq.com/api/v2/scim/ResourceTypes/{resource_id}https://api.ddog-gov.com/api/v2/scim/ResourceTypes/{resource_id}https://api.us2.ddog-gov.com/api/v2/scim/ResourceTypes/{resource_id}Overview
Get a single SCIM resource type using the resource_id.
Supported resource_id values are User and Group.
Arguments
Path Parameters
Name
Type
Description
resource_id [required]string
The id of the resource type to retrieve.
Response
OK
Definition of a SCIM resource type.
Field
Type
Description
descriptionstring
Human-readable description of the resource type.
endpointstring
HTTP-addressable endpoint relative to the base URL where the resource is located.
idstring
The resource type's server unique id.
metaobject
Metadata associated with a resource type.
locationstring
URL identifying the resource type.
resourceTypestring
Type of resource.
namestring
The resource type name.
schemastring
The resource type's primary or base SCIM schema URI.
schemas[string]
A list of SCIM schema URI identifying the protocol or schema used in this object.
{
"description": "https://tools.ietf.org/html/rfc7643#section-8.7.1",
"endpoint": "/Users",
"id": "User",
"meta": {
"location": "https://app.datadoghq.com/api/v2/scim/ResourceTypes/User",
"resourceType": "ResourceType"
},
"name": "User",
"schema": "urn:ietf:params:scim:schemas:core:2.0:User",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:ResourceType"
]
}Not Found
API error response.
Field
Type
Description
errors [required][string]
A list of errors.
{
"errors": [
"Bad Request"
]
}Too many requests
API error response.
Field
Type
Description
errors [required][string]
A list of errors.
{
"errors": [
"Bad Request"
]
}Code Example
Get resource type
# Path parameters
export resource_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/ResourceTypes/${resource_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export resource_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/ResourceTypes/${resource_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export resource_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/ResourceTypes/${resource_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export resource_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/ResourceTypes/${resource_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export resource_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/ResourceTypes/${resource_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export resource_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/ResourceTypes/${resource_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export resource_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/ResourceTypes/${resource_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export resource_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/ResourceTypes/${resource_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export resource_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/ResourceTypes/${resource_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"