For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ko/api/latest/rum-teams-ownership/create-a-teams-ownership-mapping.md. A documentation index is available at /llms.txt.
Language
Datadog site

팀 소유자 매핑 생성

경고Note: This endpoint is in Preview and is subject to change. If you have any feedback, contact Datadog support.
POSThttps://api.datadoghq.com/api/v2/rum/config/teams-ownership/mappingshttps://api.us3.datadoghq.com/api/v2/rum/config/teams-ownership/mappingshttps://api.us5.datadoghq.com/api/v2/rum/config/teams-ownership/mappingshttps://api.datadoghq.eu/api/v2/rum/config/teams-ownership/mappingshttps://api.ap1.datadoghq.com/api/v2/rum/config/teams-ownership/mappingshttps://api.ap2.datadoghq.com/api/v2/rum/config/teams-ownership/mappingshttps://api.uk1.datadoghq.com/api/v2/rum/config/teams-ownership/mappingshttps://api.ddog-gov.com/api/v2/rum/config/teams-ownership/mappingshttps://api.us2.ddog-gov.com/api/v2/rum/config/teams-ownership/mappings

개요

소속 조직을 위한 팀 소유자 매핑을 생성합니다. 요청이 성공하면 요청 본문에서 팀 소유자 매핑 객체를 반환합니다.

요청

Body Data (required)

생성할 팀 소유자 매핑의 정의입니다.

항목
유형
설명
data [required]
object

팀 소유자 매핑을 생성하기 위한 요청 본문입니다.

응답

Created

The response body for a single teams ownership mapping.

항목
유형
설명
data [required]
object

The JSON:API data envelope for a teams ownership mapping.

코드 예시

팀 소유자 매핑 생성
# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X POST "https://api.${DD_SITE}/api/v2/rum/config/teams-ownership/mappings" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "application_id": "11111111-2222-3333-4444-555555555555",
      "match_type": "exact",
      "service": "web-checkout",
      "team_handle": "team-rum",
      "view_name": "/checkout"
    },
    "type": "teams_ownership_mappings"
  }
}
EOF
# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X POST "https://api.${DD_SITE}/api/v2/rum/config/teams-ownership/mappings" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "application_id": "11111111-2222-3333-4444-555555555555",
      "match_type": "exact",
      "service": "web-checkout",
      "team_handle": "team-rum",
      "view_name": "/checkout"
    },
    "type": "teams_ownership_mappings"
  }
}
EOF
# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X POST "https://api.${DD_SITE}/api/v2/rum/config/teams-ownership/mappings" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "application_id": "11111111-2222-3333-4444-555555555555",
      "match_type": "exact",
      "service": "web-checkout",
      "team_handle": "team-rum",
      "view_name": "/checkout"
    },
    "type": "teams_ownership_mappings"
  }
}
EOF
# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X POST "https://api.${DD_SITE}/api/v2/rum/config/teams-ownership/mappings" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "application_id": "11111111-2222-3333-4444-555555555555",
      "match_type": "exact",
      "service": "web-checkout",
      "team_handle": "team-rum",
      "view_name": "/checkout"
    },
    "type": "teams_ownership_mappings"
  }
}
EOF
# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X POST "https://api.${DD_SITE}/api/v2/rum/config/teams-ownership/mappings" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "application_id": "11111111-2222-3333-4444-555555555555",
      "match_type": "exact",
      "service": "web-checkout",
      "team_handle": "team-rum",
      "view_name": "/checkout"
    },
    "type": "teams_ownership_mappings"
  }
}
EOF
# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X POST "https://api.${DD_SITE}/api/v2/rum/config/teams-ownership/mappings" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "application_id": "11111111-2222-3333-4444-555555555555",
      "match_type": "exact",
      "service": "web-checkout",
      "team_handle": "team-rum",
      "view_name": "/checkout"
    },
    "type": "teams_ownership_mappings"
  }
}
EOF
# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X POST "https://api.${DD_SITE}/api/v2/rum/config/teams-ownership/mappings" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "application_id": "11111111-2222-3333-4444-555555555555",
      "match_type": "exact",
      "service": "web-checkout",
      "team_handle": "team-rum",
      "view_name": "/checkout"
    },
    "type": "teams_ownership_mappings"
  }
}
EOF
# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X POST "https://api.${DD_SITE}/api/v2/rum/config/teams-ownership/mappings" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "application_id": "11111111-2222-3333-4444-555555555555",
      "match_type": "exact",
      "service": "web-checkout",
      "team_handle": "team-rum",
      "view_name": "/checkout"
    },
    "type": "teams_ownership_mappings"
  }
}
EOF
# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X POST "https://api.${DD_SITE}/api/v2/rum/config/teams-ownership/mappings" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "application_id": "11111111-2222-3333-4444-555555555555",
      "match_type": "exact",
      "service": "web-checkout",
      "team_handle": "team-rum",
      "view_name": "/checkout"
    },
    "type": "teams_ownership_mappings"
  }
}
EOF