{ "opencollection": "1.0.0", "info": { "name": "Datadog Account Keys API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "DD-API-KEY", "value": "{{DD-API-KEY}}", "placement": "header" } }, "items": [ { "info": { "name": "Keys", "type": "folder" }, "items": [ { "info": { "name": "Datadog Get All Api Keys", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/api_keys", "params": [ { "name": "page[size]", "value": "", "type": "query", "description": "Size for a given page. The maximum allowed value is 100." }, { "name": "page[number]", "value": "", "type": "query", "description": "Specific page number to return." }, { "name": "sort", "value": "", "type": "query", "description": "API key attribute used to sort results. Sort order is ascending\nby default. In order to specify a descending sort, prefix the\nattribute with a minus sign." }, { "name": "filter", "value": "", "type": "query", "description": "Filter API keys by the specified string." }, { "name": "filter[created_at][start]", "value": "", "type": "query", "description": "Only include API keys created on or after the specified date." }, { "name": "filter[created_at][end]", "value": "", "type": "query", "description": "Only include API keys created on or before the specified date." }, { "name": "filter[modified_at][start]", "value": "", "type": "query", "description": "Only include API keys modified on or after the specified date." }, { "name": "filter[modified_at][end]", "value": "", "type": "query", "description": "Only include API keys modified on or before the specified date." }, { "name": "include", "value": "", "type": "query", "description": "Comma separated list of resource paths for related resources to include in the response. Supported resource paths are `created_by` and `modified_by`." }, { "name": "filter[remote_config_read_enabled]", "value": "", "type": "query", "description": "Filter API keys by remote config read enabled status." }, { "name": "filter[category]", "value": "", "type": "query", "description": "Filter API keys by category." } ] }, "docs": "List all API keys available for your account." }, { "info": { "name": "Datadog Create an Api Key", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/api_keys", "body": { "type": "json", "data": "{}" } }, "docs": "Create an API key." }, { "info": { "name": "Datadog Get Api Key", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/api_keys/:api_key_id", "params": [ { "name": "api_key_id", "value": "", "type": "path", "description": "The ID of the API key." }, { "name": "include", "value": "", "type": "query", "description": "Comma separated list of resource paths for related resources to include in the response. Supported resource paths are `created_by` and `modified_by`." } ] }, "docs": "Get an API key." }, { "info": { "name": "Datadog Edit an Api Key", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/api_keys/:api_key_id", "params": [ { "name": "api_key_id", "value": "", "type": "path", "description": "The ID of the API key." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an API key." }, { "info": { "name": "Datadog Delete an Api Key", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/api_keys/:api_key_id", "params": [ { "name": "api_key_id", "value": "", "type": "path", "description": "The ID of the API key." } ] }, "docs": "Delete an API key." }, { "info": { "name": "Datadog Get All Application Keys", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/application_keys", "params": [ { "name": "page[size]", "value": "", "type": "query", "description": "Size for a given page. The maximum allowed value is 100." }, { "name": "page[number]", "value": "", "type": "query", "description": "Specific page number to return." }, { "name": "sort", "value": "", "type": "query", "description": "Application key attribute used to sort results. Sort order is ascending\nby default. In order to specify a descending sort, prefix the\nattribute with a minus sign." }, { "name": "filter", "value": "", "type": "query", "description": "Filter application keys by the specified string." }, { "name": "filter[created_at][start]", "value": "", "type": "query", "description": "Only include application keys created on or after the specified date." }, { "name": "filter[created_at][end]", "value": "", "type": "query", "description": "Only include application keys created on or before the specified date." }, { "name": "include", "value": "", "type": "query", "description": "Resource path for related resources to include in the response. Only `owned_by` is supported." } ] }, "docs": "List all application keys available for your org" }, { "info": { "name": "Datadog Get an Application Key", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/application_keys/:app_key_id", "params": [ { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." }, { "name": "include", "value": "", "type": "query", "description": "Resource path for related resources to include in the response. Only `owned_by` is supported." } ] }, "docs": "Get an application key for your org." }, { "info": { "name": "Datadog Edit an Application Key", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/application_keys/:app_key_id", "params": [ { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Edit an application key" }, { "info": { "name": "Datadog Delete an Application Key", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/application_keys/:app_key_id", "params": [ { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ] }, "docs": "Delete an application key" }, { "info": { "name": "Datadog Get All Application Keys Owned by Current User", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys", "params": [ { "name": "page[size]", "value": "", "type": "query", "description": "Size for a given page. The maximum allowed value is 100." }, { "name": "page[number]", "value": "", "type": "query", "description": "Specific page number to return." }, { "name": "sort", "value": "", "type": "query", "description": "Application key attribute used to sort results. Sort order is ascending\nby default. In order to specify a descending sort, prefix the\nattribute with a minus sign." }, { "name": "filter", "value": "", "type": "query", "description": "Filter application keys by the specified string." }, { "name": "filter[created_at][start]", "value": "", "type": "query", "description": "Only include application keys created on or after the specified date." }, { "name": "filter[created_at][end]", "value": "", "type": "query", "description": "Only include application keys created on or before the specified date." }, { "name": "include", "value": "", "type": "query", "description": "Resource path for related resources to include in the response. Only `owned_by` is supported." } ] }, "docs": "List all application keys available for current user" }, { "info": { "name": "Datadog Create an Application Key for Current User", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys", "body": { "type": "json", "data": "{}" } }, "docs": "Create an application key for current user" }, { "info": { "name": "Datadog Get One Application Key Owned by Current User", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys/:app_key_id", "params": [ { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ] }, "docs": "Get an application key owned by current user" }, { "info": { "name": "Datadog Edit an Application Key Owned by Current User", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys/:app_key_id", "params": [ { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Edit an application key owned by current user" }, { "info": { "name": "Datadog Delete an Application Key Owned by Current User", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/current_user/application_keys/:app_key_id", "params": [ { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ] }, "docs": "Delete an application key owned by current user" }, { "info": { "name": "Datadog List Application Keys for This Service Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." }, { "name": "page[size]", "value": "", "type": "query", "description": "Size for a given page. The maximum allowed value is 100." }, { "name": "page[number]", "value": "", "type": "query", "description": "Specific page number to return." }, { "name": "sort", "value": "", "type": "query", "description": "Application key attribute used to sort results. Sort order is ascending\nby default. In order to specify a descending sort, prefix the\nattribute with a minus sign." }, { "name": "filter", "value": "", "type": "query", "description": "Filter application keys by the specified string." }, { "name": "filter[created_at][start]", "value": "", "type": "query", "description": "Only include application keys created on or after the specified date." }, { "name": "filter[created_at][end]", "value": "", "type": "query", "description": "Only include application keys created on or before the specified date." } ] }, "docs": "List all application keys available for this service account." }, { "info": { "name": "Datadog Create an Application Key for This Service Account", "type": "http" }, "http": { "method": "POST", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an application key for this service account." }, { "info": { "name": "Datadog Get One Application Key for This Service Account", "type": "http" }, "http": { "method": "GET", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys/:app_key_id", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." }, { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ] }, "docs": "Get an application key owned by this service account." }, { "info": { "name": "Datadog Edit an Application Key for This Service Account", "type": "http" }, "http": { "method": "PATCH", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys/:app_key_id", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." }, { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Edit an application key owned by this service account." }, { "info": { "name": "Datadog Delete an Application Key for This Service Account", "type": "http" }, "http": { "method": "DELETE", "url": "https://{subdomain}.{site}/api/v2/service_accounts/:service_account_id/application_keys/:app_key_id", "params": [ { "name": "service_account_id", "value": "", "type": "path", "description": "The ID of the service account." }, { "name": "app_key_id", "value": "", "type": "path", "description": "The ID of the application key." } ] }, "docs": "Delete an application key owned by this service account." } ] } ], "bundled": true }