GET https://api.ap1.datadoghq.com/api/v1/graph/embed/{embed_id}/revokehttps://api.ap2.datadoghq.com/api/v1/graph/embed/{embed_id}/revokehttps://api.datadoghq.eu/api/v1/graph/embed/{embed_id}/revokehttps://api.ddog-gov.com/api/v1/graph/embed/{embed_id}/revokehttps://api.us2.ddog-gov.com/api/v1/graph/embed/{embed_id}/revokehttps://api.uk1.datadoghq.com/api/v1/graph/embed/{embed_id}/revokehttps://api.datadoghq.com/api/v1/graph/embed/{embed_id}/revokehttps://api.us3.datadoghq.com/api/v1/graph/embed/{embed_id}/revokehttps://api.us5.datadoghq.com/api/v1/graph/embed/{embed_id}/revoke
概要
特定の Embed を無効にします。
This endpoint requires the embeddable_graphs_share permission.
引数
パスパラメーター
応答
OK
A JSON object containing the success message
{
"success": "Embed 00000000000 successfully enabled."
}
Authentication Error
Error response object.
Expand All
Array of errors returned by the API.
{
"errors": [
"Bad Request"
]
}
Not found
Error response object.
Expand All
Array of errors returned by the API.
{
"errors": [
"Bad Request"
]
}
Too many requests
Error response object.
Expand All
Array of errors returned by the API.
{
"errors": [
"Bad Request"
]
}
コード例
# Path parameters
export embed_id="CHANGE_ME"
# Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.us2.ddog-gov.com"https://api.uk1.datadoghq.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/graph/embed/${embed_id}/revoke" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"