{ "opencollection": "1.0.0", "info": { "name": "Datadog Account Update API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Update", "type": "folder" }, "items": [ { "info": { "name": "Datadog Update an Existing Action Connection", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/actions/connections/:connection_id", "params": [ { "name": "connection_id", "value": "", "type": "path", "description": "The ID of the action connection" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing Action Connection" }, { "info": { "name": "Datadog Update an Api", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/apicatalog/api/:id/openapi", "params": [ { "name": "id", "value": "abc-123-def", "type": "path", "description": "ID of the API to modify" } ], "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update information about a specific API. The given content will replace all API content of the given ID.\nThe ID is returned by the create API, or can be found in the URL in the API catalog UI.\n" }, { "info": { "name": "Datadog Update a Span-based Metric", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/apm/config/metrics/:metric_id", "params": [ { "name": "metric_id", "value": "", "type": "path", "description": "The name of the span-based metric." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific span-based metric from your organization.\nReturns the span-based metric object from the request body when the request is successful." }, { "info": { "name": "Datadog Update a Retention Filter", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/apm/config/retention-filters/:filter_id", "params": [ { "name": "filter_id", "value": "", "type": "path", "description": "The ID of the retention filter." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a retention filter from your organization.\n\nDefault filters (filters with types spans-errors-sampling-processor and spans-appsec-sampling-processor) cannot be renamed or removed." }, { "info": { "name": "Datadog Update App", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/app-builder/apps/:app_id", "params": [ { "name": "app_id", "value": "65bb1f25-52e1-4510-9f8d-22d1516ed693", "type": "path", "description": "The ID of the app to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing app. This creates a new version of the app." }, { "info": { "name": "Datadog Update Case Priority", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/cases/:case_id/priority", "params": [ { "name": "case_id", "value": "f98a5a5b-e0ff-45d4-b2f5-afe6e74de504", "type": "path", "description": "Case's UUID or key" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update case priority" }, { "info": { "name": "Datadog Update Case Status", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/cases/:case_id/status", "params": [ { "name": "case_id", "value": "f98a5a5b-e0ff-45d4-b2f5-afe6e74de504", "type": "path", "description": "Case's UUID or key" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update case status" }, { "info": { "name": "Datadog Create or Update Entities", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/catalog/entity", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Create or update entities in Software Catalog." }, { "info": { "name": "Datadog Update a Custom Framework", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/cloud_security_management/custom_frameworks/:handle/:version", "params": [ { "name": "handle", "value": "", "type": "path", "description": "The framework handle" }, { "name": "version", "value": "", "type": "path", "description": "The framework version" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a custom framework." }, { "info": { "name": "Datadog Update Resource Filters", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/cloud_security_management/resource_filters", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update resource filters." }, { "info": { "name": "Datadog Update Cloud Cost Management Aws Cur Config", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/cost/aws_cur_config/:cloud_account_id", "params": [ { "name": "cloud_account_id", "value": "", "type": "path", "description": "Cloud Account id." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update the status (active/archived) and/or account filtering configuration of an AWS CUR config." }, { "info": { "name": "Datadog Update Cloud Cost Management Azure Config", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/cost/azure_uc_config/:cloud_account_id", "params": [ { "name": "cloud_account_id", "value": "", "type": "path", "description": "Cloud Account id." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update the status of an Azure config (active/archived)." }, { "info": { "name": "Datadog Create or Update a Budget", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/cost/budget", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Create a new budget or update an existing one." }, { "info": { "name": "Datadog Update Items of a Dashboard List", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/dashboard/lists/manual/:dashboard_list_id/dashboards", "params": [ { "name": "dashboard_list_id", "value": "42", "type": "path", "description": "ID of the dashboard list to update items from." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update dashboards of an existing dashboard list." }, { "info": { "name": "Datadog Update a Downtime", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/downtime/:downtime_id", "params": [ { "name": "downtime_id", "value": "00e000000-0000-1234-0000-000000000000", "type": "path", "description": "ID of the downtime to update." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a downtime by `downtime_id`." }, { "info": { "name": "Datadog Update an Incident Type", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/config/types/:incident_type_id", "params": [ { "name": "incident_type_id", "value": "", "type": "path", "description": "The UUID of the incident type." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update an incident type." }, { "info": { "name": "Datadog Update an Existing Incident", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "include", "value": "", "type": "query", "description": "Specifies which types of related objects should be included in the response." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates an incident. Provide only the attributes that should be updated as this request is a partial update." }, { "info": { "name": "Datadog Create, Update, and Delete Incident Attachments", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/attachments", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "include", "value": "", "type": "query", "description": "Specifies which types of related objects are included in the response." } ], "body": { "type": "json", "data": "{}" } }, "docs": "The bulk update endpoint for creating, updating, and deleting attachments for a given incident." }, { "info": { "name": "Datadog Update an Existing Incident Integration Metadata", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/integrations/:integration_metadata_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "integration_metadata_id", "value": "", "type": "path", "description": "The UUID of the incident integration metadata." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update an existing incident integration metadata." }, { "info": { "name": "Datadog Update an Incident Todo", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/relationships/todos/:todo_id", "params": [ { "name": "incident_id", "value": "", "type": "path", "description": "The UUID of the incident." }, { "name": "todo_id", "value": "", "type": "path", "description": "The UUID of the incident todo." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update an incident todo." }, { "info": { "name": "Datadog Update an Aws Integration", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integration/aws/accounts/:aws_account_config_id", "params": [ { "name": "aws_account_config_id", "value": "", "type": "path", "description": "Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the\n[List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an AWS Account Integration Config by config ID." }, { "info": { "name": "Datadog Update Sts Service Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integration/gcp/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Your GCP STS enabled service account's unique ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an STS enabled service account." }, { "info": { "name": "Datadog Update Tenant-based Handle", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integration/ms-teams/configuration/tenant-based-handles/:handle_id", "params": [ { "name": "handle_id", "value": "", "type": "path", "description": "Your tenant-based handle id." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a tenant-based handle from the Datadog Microsoft Teams integration." }, { "info": { "name": "Datadog Update Workflows Webhook Handle", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/:handle_id", "params": [ { "name": "handle_id", "value": "", "type": "path", "description": "Your Workflows webhook handle id." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Workflows webhook handle from the Datadog Microsoft Teams integration." }, { "info": { "name": "Datadog Update a Single Service Object", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integration/opsgenie/services/:integration_service_id", "params": [ { "name": "integration_service_id", "value": "", "type": "path", "description": "The UUID of the service." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a single service object in the Datadog Opsgenie integration." }, { "info": { "name": "Datadog Update Cloudflare Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/cloudflare/accounts/:account_id", "params": [ { "name": "account_id", "value": "abc-123-def", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Cloudflare account." }, { "info": { "name": "Datadog Update Confluent Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the Confluent account with the provided account ID." }, { "info": { "name": "Datadog Update Resource in Confluent Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/confluent-cloud/accounts/:account_id/resources/:resource_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Confluent Account ID." }, { "name": "resource_id", "value": "", "type": "path", "description": "Confluent Account Resource ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Confluent resource with the provided resource id for the account associated with the provided account ID." }, { "info": { "name": "Datadog Update Fastly Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/fastly/accounts/:account_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Fastly Account id." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Fastly account." }, { "info": { "name": "Datadog Update Fastly Service", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/fastly/accounts/:account_id/services/:service_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Fastly Account id." }, { "name": "service_id", "value": "", "type": "path", "description": "Fastly Service ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Fastly service for an account." }, { "info": { "name": "Datadog Update Okta Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/integrations/okta/accounts/:account_id", "params": [ { "name": "account_id", "value": "abc-123-def", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an Okta account." }, { "info": { "name": "Datadog Update Ip Allowlist", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/ip_allowlist", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Edit the entries in the IP allowlist, and enable or disable it." }, { "info": { "name": "Datadog Update Archive Order", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/logs/config/archive-order", "body": { "type": "json", "data": "{}" } }, "docs": "Update the order of your archives. Since logs are processed sequentially, reordering an archive may change\nthe structure and content of the data processed by other archives.\n\n**Note**: Using the `PUT` method updates your archive's order by replacing the current order\nwith the new one." }, { "info": { "name": "Datadog Update an Archive", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/logs/config/archives/:archive_id", "params": [ { "name": "archive_id", "value": "", "type": "path", "description": "The ID of the archive." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a given archive configuration.\n\n**Note**: Using this method updates your archive configuration by **replacing**\nyour current configuration with the new one sent to your Datadog organization." }, { "info": { "name": "Datadog Update a Custom Destination", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/logs/config/custom-destinations/:custom_destination_id", "params": [ { "name": "custom_destination_id", "value": "", "type": "path", "description": "The ID of the custom destination." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the given fields of a specific custom destination in your organization." }, { "info": { "name": "Datadog Update a Log-based Metric", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/logs/config/metrics/:metric_id", "params": [ { "name": "metric_id", "value": "", "type": "path", "description": "The name of the log-based metric." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific log-based metric from your organization.\nReturns the log-based metric object from the request body when the request is successful." }, { "info": { "name": "Datadog Update a Restriction Query", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/logs/config/restriction_queries/:restriction_query_id", "params": [ { "name": "restriction_query_id", "value": "", "type": "path", "description": "The ID of the restriction query." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Edit a restriction query." }, { "info": { "name": "Datadog Update a Tag Configuration", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/metrics/:metric_name/tags", "params": [ { "name": "metric_name", "value": "dist.http.endpoint.request", "type": "path", "description": "The name of the metric." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations\nof a count, rate, or gauge metric. By setting `exclude_tags_mode` to true the behavior is changed\nfrom an allow-list to a deny-list, and tags in the defined list will not be queryable.\nCan only be used with application keys from users with the `Manage Tags for Metrics` permission. This endpoint requires\na tag configuration to be created first." }, { "info": { "name": "Datadog Update a Monitor Notification Rule", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/monitor/notification_rule/:rule_id", "params": [ { "name": "rule_id", "value": "abc-123-def", "type": "path", "description": "ID of the monitor notification rule to update." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates a monitor notification rule by `rule_id`." }, { "info": { "name": "Datadog Update the Tags for a Device", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/ndm/tags/devices/:device_id", "params": [ { "name": "device_id", "value": "example:1.2.3.4", "type": "path", "description": "The id of the device to update tags for." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the tags for a device." }, { "info": { "name": "Datadog Update On-call Escalation Policy", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/on-call/escalation-policies/:policy_id", "params": [ { "name": "policy_id", "value": "a3000000-0000-0000-0000-000000000000", "type": "path", "description": "The ID of the escalation policy" }, { "name": "include", "value": "example_value", "type": "query", "description": "Comma-separated list of included relationships to be returned. Allowed values: `teams`, `steps`, `steps.targets`." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update an On-Call escalation policy" }, { "info": { "name": "Datadog Update On-call Schedule", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/on-call/schedules/:schedule_id", "params": [ { "name": "include", "value": "example_value", "type": "query", "description": "Comma-separated list of included relationships to be returned. Allowed values: `teams`, `layers`, `layers.members`, `layers.members.user`." }, { "name": "schedule_id", "value": "3653d3c6-0c75-11ea-ad28-fb5701eabc7d", "type": "path", "description": "The ID of the schedule" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a new On-Call schedule" }, { "info": { "name": "Datadog Update a Specific Org Config", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/org_configs/:org_config_name", "params": [ { "name": "org_config_name", "value": "", "type": "path", "description": "The name of an Org Config." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the value of a specific Org Config." }, { "info": { "name": "Datadog Update a Powerpack", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/powerpacks/:powerpack_id", "params": [ { "name": "powerpack_id", "value": "abc-123-def", "type": "path", "description": "ID of the powerpack." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a powerpack." }, { "info": { "name": "Datadog Update a Waf Custom Rule", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/asm/waf/custom_rules/:custom_rule_id", "params": [ { "name": "custom_rule_id", "value": "3b5-v82-ns6", "type": "path", "description": "The ID of the custom rule." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific WAF custom Rule.\nReturns the Custom Rule object when the request is successful." }, { "info": { "name": "Datadog Update a Waf Exclusion Filter", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/asm/waf/exclusion_filters/:exclusion_filter_id", "params": [ { "name": "exclusion_filter_id", "value": "3b5-v82-ns6", "type": "path", "description": "The identifier of the WAF exclusion filter." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific WAF exclusion filter using its identifier.\nReturns the exclusion filter object when the request is successful." }, { "info": { "name": "Datadog Update a Workload Protection Agent Rule", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/cws/agent_rules/:agent_rule_id", "params": [ { "name": "agent_rule_id", "value": "3b5-v82-ns6", "type": "path", "description": "The ID of the Agent rule" }, { "name": "policy_id", "value": "6517fcc1-cec7-4394-a655-8d6e9d085255", "type": "query", "description": "The ID of the Agent policy" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific Workload Protection Agent rule.\nReturns the agent rule object when the request is successful.\n\n**Note**: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below." }, { "info": { "name": "Datadog Update a Workload Protection Policy", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/cws/policy/:policy_id", "params": [ { "name": "policy_id", "value": "6517fcc1-cec7-4394-a655-8d6e9d085255", "type": "path", "description": "The ID of the Agent policy" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific Workload Protection policy.\nReturns the policy object when the request is successful.\n\n**Note**: This endpoint is not available for the Government (US1-FED) site. Please reference the (US1-FED) specific resource below." }, { "info": { "name": "Datadog Update a Pipeline", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/remote_config/products/obs_pipelines/pipelines/:pipeline_id", "params": [ { "name": "pipeline_id", "value": "abc-123-def", "type": "path", "description": "The ID of the pipeline to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a pipeline." }, { "info": { "name": "Datadog Update a Restriction Policy", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/restriction_policy/:resource_id", "params": [ { "name": "resource_id", "value": "dashboard:abc-def-ghi", "type": "path", "description": "Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`." }, { "name": "allow_self_lockout", "value": "true", "type": "query", "description": "Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates the restriction policy associated with a resource.\n\n#### Supported resources\nRestriction policies can be applied to the following resources:\n- Dashboards: `dashboard`\n- Integration Accounts: `integration-account`\n- Integration Services: `integration-service`\n- Integration Webhooks: `integration-webhook`\n- Notebooks: `notebook`\n- Powerpacks: `powerpack`\n- Reference Tables: `reference-table`\n- Security Rules: `security-rule`\n- Service Level Objectives: `slo`\n- Synthetic Global Variables: `" }, { "info": { "name": "Datadog Update a Role", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/roles/:role_id", "params": [ { "name": "role_id", "value": "", "type": "path", "description": "The unique identifier of the role." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Edit a role. Can only be used with application keys belonging to administrators." }, { "info": { "name": "Datadog Update a Rum Retention Filter", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/rum/applications/:app_id/retention_filters/:rf_id", "params": [ { "name": "app_id", "value": "", "type": "path", "description": "RUM application ID." }, { "name": "rf_id", "value": "", "type": "path", "description": "Retention filter ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a RUM retention filter for a RUM application.\nReturns RUM retention filter objects from the request body when the request is successful." }, { "info": { "name": "Datadog Update a Rum Application", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/rum/applications/:id", "params": [ { "name": "id", "value": "abc-123-def", "type": "path", "description": "RUM application ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the RUM application with given ID in your organization." }, { "info": { "name": "Datadog Update a Rum-based Metric", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/rum/config/metrics/:metric_id", "params": [ { "name": "metric_id", "value": "", "type": "path", "description": "The name of the rum-based metric." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific rum-based metric from your organization.\nReturns the rum-based metric object from the request body when the request is successful." }, { "info": { "name": "Datadog Update Group", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/scim/Groups/:group_id", "params": [ { "name": "group_id", "value": "abc-123-def", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update the group with the given `group_id`." }, { "info": { "name": "Datadog Update User", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/scim/Users/:user_uuid", "params": [ { "name": "user_uuid", "value": "abc-123-def", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update the user with the given `user_uuid`." }, { "info": { "name": "Datadog Update an Existing Rule", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/scorecard/rules/:rule_id", "params": [ { "name": "rule_id", "value": "", "type": "path", "description": "The ID of the rule." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates an existing rule." }, { "info": { "name": "Datadog Update a Workload Protection Agent Rule (us1-fed)", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/security_monitoring/cloud_workload_security/agent_rules/:agent_rule_id", "params": [ { "name": "agent_rule_id", "value": "3b5-v82-ns6", "type": "path", "description": "The ID of the Agent rule" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a specific agent rule.\nReturns the agent rule object when the request is successful.\n\n**Note**: This endpoint should only be used for the Government (US1-FED) site." }, { "info": { "name": "Datadog Update a Security Filter", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/security_monitoring/configuration/security_filters/:security_filter_id", "params": [ { "name": "security_filter_id", "value": "", "type": "path", "description": "The ID of the security filter." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a specific security filter.\nReturns the security filter object when the request is successful." }, { "info": { "name": "Datadog Update a Suppression Rule", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/security_monitoring/configuration/suppressions/:suppression_id", "params": [ { "name": "suppression_id", "value": "", "type": "path", "description": "The ID of the suppression rule" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a specific suppression rule." }, { "info": { "name": "Datadog Update an Existing Rule", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/security_monitoring/rules/:rule_id", "params": [ { "name": "rule_id", "value": "", "type": "path", "description": "The ID of the rule." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update an existing rule. When updating `cases`, `queries` or `options`, the whole field\nmust be included. For example, when modifying a query all queries must be included.\nDefault rules can only be updated to be enabled, to change notifications, or to update\nthe tags (default tags cannot be removed)." }, { "info": { "name": "Datadog Update Scanning Group", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/sensitive-data-scanner/config/groups/:group_id", "params": [ { "name": "group_id", "value": "", "type": "path", "description": "The ID of a group of rules." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a group, including the order of the rules.\nRules within the group are reordered by including a rules relationship. If the rules\nrelationship is present, its data section MUST contain linkages for all of the rules\ncurrently in the group, and MUST NOT contain any others." }, { "info": { "name": "Datadog Update Scanning Rule", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/sensitive-data-scanner/config/rules/:rule_id", "params": [ { "name": "rule_id", "value": "", "type": "path", "description": "The ID of the rule." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a scanning rule.\nThe request body MUST NOT include a standard_pattern relationship, as that relationship\nis non-editable. Trying to edit the regex attribute of a rule with a standard_pattern\nrelationship will also result in an error." }, { "info": { "name": "Datadog Create or Update Service Definition", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/services/definitions", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Create or update service definition in the Datadog Service Catalog." }, { "info": { "name": "Datadog Update an Existing Incident Service", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/services/:service_id", "params": [ { "name": "service_id", "value": "", "type": "path", "description": "The ID of the incident service." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates an existing incident service. Only provide the attributes which should be updated as this request is a partial update." }, { "info": { "name": "Datadog Update a Team", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/team/:team_id", "params": [ { "name": "team_id", "value": "abc-123-def", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a team using the team's `id`.\nIf the `team_links` relationship is present, the associated links are updated to be in the order they appear in the array, and any existing team links not present are removed." }, { "info": { "name": "Datadog Update a Team Link", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/team/:team_id/links/:link_id", "params": [ { "name": "team_id", "value": "abc-123-def", "type": "path", "description": "None" }, { "name": "link_id", "value": "abc-123-def", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a team link." }, { "info": { "name": "Datadog Update a User's Membership Attributes on a Team", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/team/:team_id/memberships/:user_id", "params": [ { "name": "team_id", "value": "abc-123-def", "type": "path", "description": "None" }, { "name": "user_id", "value": "abc-123-def", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a user's membership attributes on a team." }, { "info": { "name": "Datadog Update Permission Setting for Team", "type": "http" }, "http": { "method": "PUT", "url": "https://{subdomain}.{site}/api/v2/team/:team_id/permission-settings/:action", "params": [ { "name": "team_id", "value": "abc-123-def", "type": "path", "description": "None" }, { "name": "action", "value": "example_value", "type": "path", "description": "None" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Update a team permission setting for a given team." }, { "info": { "name": "Datadog Update an Existing Incident Team", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/teams/:team_id", "params": [ { "name": "team_id", "value": "", "type": "path", "description": "The ID of the incident team." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Updates an existing incident team. Only provide the attributes which should be updated as this request is a partial update." }, { "info": { "name": "Datadog Update a User", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/users/:user_id", "params": [ { "name": "user_id", "value": "", "type": "path", "description": "The ID of the user." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "docs": "Edit a user. Can only be used with an application key belonging\nto an administrator user." }, { "info": { "name": "Datadog Update an Existing Workflow", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/workflows/:workflow_id", "params": [ { "name": "workflow_id", "value": "", "type": "path", "description": "The ID of the workflow." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a workflow by ID. This API requires an application key scoped with the `workflows_write` permission." } ] } ], "bundled": true }