For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/ko/api/latest/app-builder/delete-multiple-apps.md. A documentation index is available at /llms.txt.
Language
Datadog site
주의이 제품은 선택한 Datadog 사이트에서 지원되지 않습니다. (US2-FED).

여러 앱 삭제하기

DELETEhttps://api.datadoghq.com/api/v2/app-builder/appshttps://api.us3.datadoghq.com/api/v2/app-builder/appshttps://api.us5.datadoghq.com/api/v2/app-builder/appshttps://api.datadoghq.eu/api/v2/app-builder/appshttps://api.ap1.datadoghq.com/api/v2/app-builder/appshttps://api.ap2.datadoghq.com/api/v2/app-builder/appshttps://api.uk1.datadoghq.com/api/v2/app-builder/appshttps://api.ddog-gov.com/api/v2/app-builder/appshttps://api.us2.ddog-gov.com/api/v2/app-builder/apps

개요

앱 ID 목록에서 여러 앱을 단일 요청으로 삭제합니다. 이 API에는 [등록된 애플리케이션 키]가 필요합니다(https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). 또는 [UI에서] 이러한 권한을 구성할 수 있습니다(https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).

This endpoint requires the apps_write permission.

요청

Body Data (required)

항목
유형
설명
data
[object]

여러 앱을 ID별로 삭제하기 위한 요청 객체입니다.

응답

OK

The response object after multiple apps are successfully deleted.

항목
유형
설명
data
[object]

An array of objects containing the IDs of the deleted apps.

코드 예시

# 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 DELETE "https://api.${DD_SITE}/api/v2/app-builder/apps" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": [
    {
      "id": "aea2ed17-b45f-40d0-ba59-c86b7972c901",
      "type": "appDefinitions"
    },
    {
      "id": "f69bb8be-6168-4fe7-a30d-370256b6504a",
      "type": "appDefinitions"
    },
    {
      "id": "ab1ed73e-13ad-4426-b0df-a0ff8876a088",
      "type": "appDefinitions"
    }
  ]
}
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 DELETE "https://api.${DD_SITE}/api/v2/app-builder/apps" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": [
    {
      "id": "aea2ed17-b45f-40d0-ba59-c86b7972c901",
      "type": "appDefinitions"
    },
    {
      "id": "f69bb8be-6168-4fe7-a30d-370256b6504a",
      "type": "appDefinitions"
    },
    {
      "id": "ab1ed73e-13ad-4426-b0df-a0ff8876a088",
      "type": "appDefinitions"
    }
  ]
}
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 DELETE "https://api.${DD_SITE}/api/v2/app-builder/apps" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": [
    {
      "id": "aea2ed17-b45f-40d0-ba59-c86b7972c901",
      "type": "appDefinitions"
    },
    {
      "id": "f69bb8be-6168-4fe7-a30d-370256b6504a",
      "type": "appDefinitions"
    },
    {
      "id": "ab1ed73e-13ad-4426-b0df-a0ff8876a088",
      "type": "appDefinitions"
    }
  ]
}
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 DELETE "https://api.${DD_SITE}/api/v2/app-builder/apps" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": [
    {
      "id": "aea2ed17-b45f-40d0-ba59-c86b7972c901",
      "type": "appDefinitions"
    },
    {
      "id": "f69bb8be-6168-4fe7-a30d-370256b6504a",
      "type": "appDefinitions"
    },
    {
      "id": "ab1ed73e-13ad-4426-b0df-a0ff8876a088",
      "type": "appDefinitions"
    }
  ]
}
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 DELETE "https://api.${DD_SITE}/api/v2/app-builder/apps" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": [
    {
      "id": "aea2ed17-b45f-40d0-ba59-c86b7972c901",
      "type": "appDefinitions"
    },
    {
      "id": "f69bb8be-6168-4fe7-a30d-370256b6504a",
      "type": "appDefinitions"
    },
    {
      "id": "ab1ed73e-13ad-4426-b0df-a0ff8876a088",
      "type": "appDefinitions"
    }
  ]
}
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 DELETE "https://api.${DD_SITE}/api/v2/app-builder/apps" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": [
    {
      "id": "aea2ed17-b45f-40d0-ba59-c86b7972c901",
      "type": "appDefinitions"
    },
    {
      "id": "f69bb8be-6168-4fe7-a30d-370256b6504a",
      "type": "appDefinitions"
    },
    {
      "id": "ab1ed73e-13ad-4426-b0df-a0ff8876a088",
      "type": "appDefinitions"
    }
  ]
}
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 DELETE "https://api.${DD_SITE}/api/v2/app-builder/apps" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": [
    {
      "id": "aea2ed17-b45f-40d0-ba59-c86b7972c901",
      "type": "appDefinitions"
    },
    {
      "id": "f69bb8be-6168-4fe7-a30d-370256b6504a",
      "type": "appDefinitions"
    },
    {
      "id": "ab1ed73e-13ad-4426-b0df-a0ff8876a088",
      "type": "appDefinitions"
    }
  ]
}
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 DELETE "https://api.${DD_SITE}/api/v2/app-builder/apps" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": [
    {
      "id": "aea2ed17-b45f-40d0-ba59-c86b7972c901",
      "type": "appDefinitions"
    },
    {
      "id": "f69bb8be-6168-4fe7-a30d-370256b6504a",
      "type": "appDefinitions"
    },
    {
      "id": "ab1ed73e-13ad-4426-b0df-a0ff8876a088",
      "type": "appDefinitions"
    }
  ]
}
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 DELETE "https://api.${DD_SITE}/api/v2/app-builder/apps" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}" \
-d @- << EOF
{
  "data": [
    {
      "id": "aea2ed17-b45f-40d0-ba59-c86b7972c901",
      "type": "appDefinitions"
    },
    {
      "id": "f69bb8be-6168-4fe7-a30d-370256b6504a",
      "type": "appDefinitions"
    },
    {
      "id": "ab1ed73e-13ad-4426-b0df-a0ff8876a088",
      "type": "appDefinitions"
    }
  ]
}
EOF