- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Configure your Datadog Microsoft Teams integration directly through the Datadog API. Note: These endpoints do not support legacy connector handles.
POST https://api.ap1.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.datadoghq.eu/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.ddog-gov.com/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.us3.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handles
Create a tenant-based handle in the Datadog Microsoft Teams integration.
Tenant-based handle payload.
항목
유형
설명
data [required]
object
Tenant-based handle data from a response.
attributes [required]
object
Tenant-based handle attributes.
channel_id [required]
string
Channel id.
name [required]
string
Tenant-based handle name.
team_id [required]
string
Team id.
tenant_id [required]
string
Tenant id.
type [required]
enum
Specifies the tenant-based handle resource type.
Allowed enum values: tenant-based-handle
default: tenant-based-handle
{
"data": {
"attributes": {
"channel_id": "19:iD_D2xy_sAa-JV851JJYwIa6mlW9F9Nxm3SLyZq68qY1@thread.tacv2",
"name": "Example-Microsoft-Teams-Integration",
"team_id": "e5f50a58-c929-4fb3-8866-e2cd836de3c2",
"tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97"
},
"type": "tenant-based-handle"
}
}
CREATED
Response of a tenant-based handle.
항목
유형
설명
data [required]
object
Tenant-based handle data from a response.
attributes
object
Tenant-based handle attributes.
channel_id
string
Channel id.
name
string
Tenant-based handle name.
team_id
string
Team id.
tenant_id
string
Tenant id.
id
string
The ID of the tenant-based handle.
type
enum
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
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Conflict
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Curl command
curl -X POST "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" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
"data": {
"attributes": {
"channel_id": "19:iD_D2xy_sAa-JV851JJYwIa6mlW9F9Nxm3SLyZq68qY1@thread.tacv2",
"name": "Example-Microsoft-Teams-Integration",
"team_id": "e5f50a58-c929-4fb3-8866-e2cd836de3c2",
"tenant_id": "4d3bac44-0230-4732-9e70-cc00736f0a97"
},
"type": "tenant-based-handle"
}
}
EOF
POST https://api.ap1.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.datadoghq.eu/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.ddog-gov.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.us3.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
Create a Workflows webhook handle in the Datadog Microsoft Teams integration.
Workflows Webhook handle payload.
항목
유형
설명
data [required]
object
Workflows Webhook handle data from a response.
attributes [required]
object
Workflows Webhook handle attributes.
name [required]
string
Workflows Webhook handle name.
url [required]
string
Workflows Webhook URL.
type [required]
enum
Specifies the Workflows webhook handle resource type.
Allowed enum values: workflows-webhook-handle
default: workflows-webhook-handle
{
"data": {
"attributes": {
"name": "Example-Microsoft-Teams-Integration",
"url": "https://fake.url.com"
},
"type": "workflows-webhook-handle"
}
}
CREATED
Response of a Workflows webhook handle.
항목
유형
설명
data [required]
object
Workflows Webhook handle data from a response.
attributes
object
Workflows Webhook handle attributes.
name
string
Workflows Webhook handle name.
id
string
The ID of the Workflows webhook handle.
type
enum
Specifies the Workflows webhook handle resource type.
Allowed enum values: workflows-webhook-handle
default: workflows-webhook-handle
{
"data": {
"attributes": {
"name": "fake-handle-name"
},
"id": "596da4af-0563-4097-90ff-07230c3f9db3",
"type": "workflows-webhook-handle"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Conflict
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Curl command
curl -X POST "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/workflows-webhook-handles" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
"data": {
"attributes": {
"name": "Example-Microsoft-Teams-Integration",
"url": "https://fake.url.com"
},
"type": "workflows-webhook-handle"
}
}
EOF
DELETE 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}
Delete a tenant-based handle from the Datadog Microsoft Teams integration.
이름
유형
설명
handle_id [required]
string
Your tenant-based handle id.
OK
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Path parameters
export handle_id="CHANGE_ME"
# Curl command
curl -X DELETE "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 "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
DELETE https://api.ap1.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.datadoghq.eu/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.ddog-gov.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.us3.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}
Delete a Workflows webhook handle from the Datadog Microsoft Teams integration.
이름
유형
설명
handle_id [required]
string
Your Workflows webhook handle id.
OK
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Path parameters
export handle_id="CHANGE_ME"
# Curl command
curl -X DELETE "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/workflows-webhook-handles/${handle_id}" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
GET https://api.ap1.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.datadoghq.eu/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.ddog-gov.com/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.us3.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handleshttps://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handles
Get a list of all tenant-based handles from the Datadog Microsoft Teams integration.
이름
유형
설명
tenant_id
string
Your tenant id.
name
string
Your tenant-based handle name.
OK
Response with a list of tenant-based handles.
항목
유형
설명
data [required]
[object]
An array of tenant-based handles.
attributes
object
Tenant-based handle attributes.
channel_id
string
Channel id.
channel_name
string
Channel name.
name
string
Tenant-based handle name.
team_id
string
Team id.
team_name
string
Team name.
tenant_id
string
Tenant id.
tenant_name
string
Tenant name.
id
string
The ID of the tenant-based handle.
type
enum
Tenant-based handle resource type.
Allowed enum values: ms-teams-tenant-based-handle-info
default: ms-teams-tenant-based-handle-info
{
"data": [
{
"attributes": {
"channel_id": "fake-channel-id",
"channel_name": "fake-channel-name",
"name": "fake-handle-name",
"team_id": "00000000-0000-0000-0000-000000000000",
"team_name": "fake-team-name",
"tenant_id": "00000000-0000-0000-0000-000000000001",
"tenant_name": "fake-tenant-name"
},
"id": "596da4af-0563-4097-90ff-07230c3f9db3",
"type": "ms-teams-tenant-based-handle-info"
}
]
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# 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" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
GET https://api.ap1.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.datadoghq.eu/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.ddog-gov.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.us3.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handleshttps://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles
Get a list of all Workflows webhook handles from the Datadog Microsoft Teams integration.
이름
유형
설명
name
string
Your Workflows webhook handle name.
OK
Response with a list of Workflows webhook handles.
항목
유형
설명
data [required]
[object]
An array of Workflows webhook handles.
attributes
object
Workflows Webhook handle attributes.
name
string
Workflows Webhook handle name.
id
string
The ID of the Workflows webhook handle.
type
enum
Specifies the Workflows webhook handle resource type.
Allowed enum values: workflows-webhook-handle
default: workflows-webhook-handle
{
"data": [
{
"attributes": {
"name": "fake-handle-name"
},
"id": "596da4af-0563-4097-90ff-07230c3f9db3",
"type": "workflows-webhook-handle"
}
]
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# 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/workflows-webhook-handles" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
GET https://api.ap1.datadoghq.com/api/v2/integration/ms-teams/configuration/channel/{tenant_name}/{team_name}/{channel_name}https://api.datadoghq.eu/api/v2/integration/ms-teams/configuration/channel/{tenant_name}/{team_name}/{channel_name}https://api.ddog-gov.com/api/v2/integration/ms-teams/configuration/channel/{tenant_name}/{team_name}/{channel_name}https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/channel/{tenant_name}/{team_name}/{channel_name}https://api.us3.datadoghq.com/api/v2/integration/ms-teams/configuration/channel/{tenant_name}/{team_name}/{channel_name}https://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/channel/{tenant_name}/{team_name}/{channel_name}
Get the tenant, team, and channel ID of a channel in the Datadog Microsoft Teams integration.
이름
유형
설명
tenant_name [required]
string
Your tenant name.
team_name [required]
string
Your team name.
channel_name [required]
string
Your channel name.
OK
Response with channel, team, and tenant ID information.
항목
유형
설명
data
object
Channel data from a response.
attributes
object
Channel attributes.
is_primary
boolean
Indicates if this is the primary channel.
team_id
string
Team id.
tenant_id
string
Tenant id.
id
string
The ID of the channel.
type
enum
Channel info resource type.
Allowed enum values: ms-teams-channel-info
default: ms-teams-channel-info
{
"data": {
"attributes": {
"is_primary": true,
"team_id": "00000000-0000-0000-0000-000000000000",
"tenant_id": "00000000-0000-0000-0000-000000000001"
},
"id": "19:b41k24b14bn1nwffkernfkwrnfneubgkr@thread.tacv2",
"type": "ms-teams-channel-info"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Path parameters
export tenant_name="CHANGE_ME"
export team_name="CHANGE_ME"
export channel_name="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/channel/${tenant_name}/${team_name}/${channel_name}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
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.
이름
유형
설명
handle_id [required]
string
Your tenant-based handle id.
OK
Response of a tenant-based handle.
항목
유형
설명
data [required]
object
Tenant-based handle data from a response.
attributes
object
Tenant-based handle attributes.
channel_id
string
Channel id.
name
string
Tenant-based handle name.
team_id
string
Team id.
tenant_id
string
Tenant id.
id
string
The ID of the tenant-based handle.
type
enum
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
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"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}"
GET https://api.ap1.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.datadoghq.eu/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.ddog-gov.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.us3.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}
Get the name of a Workflows webhook handle from the Datadog Microsoft Teams integration.
이름
유형
설명
handle_id [required]
string
Your Workflows webhook handle id.
OK
Response of a Workflows webhook handle.
항목
유형
설명
data [required]
object
Workflows Webhook handle data from a response.
attributes
object
Workflows Webhook handle attributes.
name
string
Workflows Webhook handle name.
id
string
The ID of the Workflows webhook handle.
type
enum
Specifies the Workflows webhook handle resource type.
Allowed enum values: workflows-webhook-handle
default: workflows-webhook-handle
{
"data": {
"attributes": {
"name": "fake-handle-name"
},
"id": "596da4af-0563-4097-90ff-07230c3f9db3",
"type": "workflows-webhook-handle"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"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/workflows-webhook-handles/${handle_id}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
PATCH 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}
Update a tenant-based handle from the Datadog Microsoft Teams integration.
이름
유형
설명
handle_id [required]
string
Your tenant-based handle id.
Tenant-based handle payload.
항목
유형
설명
data [required]
object
Tenant-based handle data from a response.
attributes [required]
object
Tenant-based handle attributes.
channel_id
string
Channel id.
name
string
Tenant-based handle name.
team_id
string
Team id.
tenant_id
string
Tenant id.
type [required]
enum
Specifies the tenant-based handle resource type.
Allowed enum values: tenant-based-handle
default: tenant-based-handle
{
"data": {
"attributes": {
"name": "fake-handle-name--updated"
},
"type": "tenant-based-handle"
}
}
OK
Response of a tenant-based handle.
항목
유형
설명
data [required]
object
Tenant-based handle data from a response.
attributes
object
Tenant-based handle attributes.
channel_id
string
Channel id.
name
string
Tenant-based handle name.
team_id
string
Team id.
tenant_id
string
Tenant id.
id
string
The ID of the tenant-based handle.
type
enum
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
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Conflict
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Path parameters
export handle_id="CHANGE_ME"
# Curl command
curl -X PATCH "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 "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
"data": {
"attributes": {
"name": "fake-handle-name--updated"
},
"type": "tenant-based-handle"
}
}
EOF
PATCH https://api.ap1.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.datadoghq.eu/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.ddog-gov.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.us3.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}https://api.us5.datadoghq.com/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id}
Update a Workflows webhook handle from the Datadog Microsoft Teams integration.
이름
유형
설명
handle_id [required]
string
Your Workflows webhook handle id.
Workflows Webhook handle payload.
항목
유형
설명
data [required]
object
Workflows Webhook handle data from a response.
attributes [required]
object
Workflows Webhook handle attributes.
name
string
Workflows Webhook handle name.
url
string
Workflows Webhook URL.
type [required]
enum
Specifies the Workflows webhook handle resource type.
Allowed enum values: workflows-webhook-handle
default: workflows-webhook-handle
{
"data": {
"attributes": {
"name": "fake-handle-name--updated"
},
"type": "workflows-webhook-handle"
}
}
OK
Response of a Workflows webhook handle.
항목
유형
설명
data [required]
object
Workflows Webhook handle data from a response.
attributes
object
Workflows Webhook handle attributes.
name
string
Workflows Webhook handle name.
id
string
The ID of the Workflows webhook handle.
type
enum
Specifies the Workflows webhook handle resource type.
Allowed enum values: workflows-webhook-handle
default: workflows-webhook-handle
{
"data": {
"attributes": {
"name": "fake-handle-name"
},
"id": "596da4af-0563-4097-90ff-07230c3f9db3",
"type": "workflows-webhook-handle"
}
}
Bad Request
API error response.
{
"errors": [
"Bad Request"
]
}
Forbidden
API error response.
{
"errors": [
"Bad Request"
]
}
Not Found
API error response.
{
"errors": [
"Bad Request"
]
}
Conflict
API error response.
{
"errors": [
"Bad Request"
]
}
Failed Precondition
API error response.
{
"errors": [
"Bad Request"
]
}
Too many requests
API error response.
{
"errors": [
"Bad Request"
]
}
# Path parameters
export handle_id="CHANGE_ME"
# Curl command
curl -X PATCH "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/workflows-webhook-handles/${handle_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
"data": {
"attributes": {
"name": "fake-handle-name--updated"
},
"type": "workflows-webhook-handle"
}
}
EOF