GET https://api.ap1.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id}https://api.datadoghq.eu/api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id}https://api.ddog-gov.com/api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id}https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id}https://api.us3.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id}https://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id}
概要
Get the tenant, team, and channel information of a tenant-based handle from the Datadog Microsoft Teams integration.
引数
パスパラメーター
Your tenant-based handle id.
応答
OK
Response of a tenant-based handle.
Expand All
Tenant-based handle data from a response.
Tenant-based handle attributes.
Tenant-based handle name.
The ID of the tenant-based handle.
Specifies the tenant-based handle resource type.
Allowed enum values: tenant-based-handle
default: tenant-based-handle
{
"data": {
"attributes": {
"channel_id": "fake-channel-id",
"name": "fake-handle-name",
"team_id": "00000000-0000-0000-0000-000000000000",
"tenant_id": "00000000-0000-0000-0000-000000000001"
},
"id": "596da4af-0563-4097-90ff-07230c3f9db3",
"type": "tenant-based-handle"
}
}
Bad Request
{
"errors": [
"Bad Request"
]
}
Forbidden
{
"errors": [
"Bad Request"
]
}
Not Found
{
"errors": [
"Bad Request"
]
}
Failed Precondition
{
"errors": [
"Bad Request"
]
}
Too many requests
{
"errors": [
"Bad Request"
]
}
コード例
# Path parameters
export handle_id="CHANGE_ME"
# Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handles/${handle_id}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"