For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ko/api/latest/scim/get-resource-type.md. A documentation index is available at /llms.txt.
Language
Datadog site

리소스 유형 가져오기

GEThttps://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}

개요

resource_id를 사용하여 단일 SCIM 리소스 유형을 가져옵니다. 지원되는 resource_id 값은 User 및 Group입니다.

This endpoint requires all of the following permissions:

  • user_access_invite
  • user_access_manage

인수

경로 파라미터

이름
유형
설명
resource_id [required]
string

The id of the resource type to retrieve.

응답

OK

Definition of a SCIM resource type.

항목
유형
설명
description
string

Human-readable description of the resource type.

endpoint
string

HTTP-addressable endpoint relative to the base URL where the resource is located.

id
string

The resource type's server unique id.

meta
object

Metadata associated with a resource type.

name
string

The resource type name.

schema
string

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.

코드 예시

리소스 유형 가져오기
# 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}"