Note : This endpoint is in preview and is subject to change.
If you have any feedback, contact Datadog support .
DELETE https://api.ap1.datadoghq.com/api/v2/sourcemaps https://api.ap2.datadoghq.com/api/v2/sourcemaps https://api.datadoghq.eu/api/v2/sourcemaps https://api.ddog-gov.com/api/v2/sourcemaps https://api.us2.ddog-gov.com/api/v2/sourcemaps https://api.uk1.datadoghq.com/api/v2/sourcemaps https://api.datadoghq.com/api/v2/sourcemaps https://api.us3.datadoghq.com/api/v2/sourcemaps https://api.us5.datadoghq.com/api/v2/sourcemaps
概要 Deletes source maps matching the specified filter criteria. Supports
dry-run mode to preview which source maps would be deleted without
performing the actual deletion.
This endpoint requires the rum_delete_data permission.
引数 クエリ文字列 The type of source map. Valid values are js, jvm, ios,
react, flutter, elf, ndk, il2cpp, wasm, portable_pdb. Allowed enum values: js, jvm, ios, react, flutter, elf, ndk, il2cpp, wasm, portable_pdb
When set to true, returns the source maps that would be deleted
without performing the actual deletion. When set to false,
performs the deletion.
Filter by service names (multiple values allowed). Required for
js, jvm, react, and flutter map kinds.
Filter by version values (multiple values allowed, maximum 10).
Required for js, jvm, react, and flutter map kinds.
Filter by variant values (multiple values allowed). Supported for jvm.
Filter by source map ID values (multiple values allowed). Supported for all map kinds.
Filter by build ID values (multiple values allowed). Supported for jvm, ndk, il2cpp, wasm, and portable_pdb.
Filter by UUID values (multiple values allowed). Supported for ios.
Filter by platform values (multiple values allowed). Supported for react.
Filter by build number values (multiple values allowed). Supported for react.
Filter by bundle name values (multiple values allowed). Supported for react.
Filter by architecture values (multiple values allowed). Supported
for flutter, elf, and ndk.
Filter by symbol source values (multiple values allowed). Supported for elf.
Filter by origin values (multiple values allowed). Supported for elf.
Filter by origin version values (multiple values allowed). Supported for elf.
Filter by filename (single value). Supported for js, elf, ndk, wasm, and portable_pdb.
Filter by debug ID (single value). Supported for react.
Filter by GNU build ID (single value). Supported for elf.
Filter by Go build ID (single value). Supported for elf.
Filter by file hash (single value). Supported for elf.
応答 OK
Response containing a list of affected source maps.
Expand All
List of source map data objects.
JavaScript source map data object.
Attributes of a JavaScript source map.
The absolute path to the minified JavaScript file.
blob_storage_sourcemap_path
The path to the source map in blob storage.
The timestamp when the source map was created.
The debug identifier (UUID format) that uniquely identifies this
JavaScript source map. Returned for source maps indexed by debug ID.
The domain associated with the source map.
The file name of the minified JavaScript file.
The type of source map. Always js for JavaScript source maps.
Allowed enum values: js
The service name associated with the source map.
The size of the source map file in bytes.
The version of the service associated with the source map.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
React Native source map data object.
Attributes of a React Native source map.
The timestamp when the source map was created.
The debug identifier (UUID format).
The type of source map. Always react for React Native source maps.
Allowed enum values: react
The platform the source map was built for (e.g., ios, android).
The service name associated with the source map.
The size of the source map file in bytes.
The version of the service associated with the source map.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
iOS dSYM source map data object.
Attributes of an iOS dSYM source map.
The timestamp when the source map was created.
The type of source map. Always ios for iOS dSYM source maps.
Allowed enum values: ios
The size of the dSYM file in bytes.
The UUID(s) associated with the dSYM file.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
JVM (ProGuard/R8) mapping file data object.
Attributes of a JVM mapping file.
The build identifier (UUID format).
The timestamp when the mapping file was created.
The type of source map. Always jvm for JVM source maps.
Allowed enum values: jvm
The service name associated with the mapping file.
The size of the mapping file in bytes.
The build variant (e.g., release, debug).
The version of the service associated with the mapping file.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
Flutter symbol file data object.
Attributes of a Flutter symbol file.
The target CPU architecture.
The timestamp when the symbol file was created.
The type of source map. Always flutter for Flutter source maps.
Allowed enum values: flutter
The service name associated with the symbol file.
The size of the symbol file in bytes.
The version of the service associated with the symbol file.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
ELF symbol file data object.
Attributes of an ELF symbol file.
The target CPU architecture.
The timestamp when the symbol file was created.
The SHA256 hash of the ELF file.
The GNU build ID (UUID format).
The Go build ID (UUID format).
The type of source map. Always elf for ELF source maps.
Allowed enum values: elf
The origin of the ELF file.
The version of the origin package.
The size of the ELF file in bytes.
The source of the debug symbols.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
Android NDK symbol file data object.
Attributes of an Android NDK symbol file.
The target CPU architecture.
The build identifier (UUID format).
The timestamp when the symbol file was created.
The NDK library file name.
The type of source map. Always ndk for Android NDK source maps.
Allowed enum values: ndk
The size of the symbol file in bytes.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
IL2CPP mapping file data object.
Attributes of an IL2CPP mapping file.
The build identifier (UUID format).
The timestamp when the mapping file was created.
The type of source map. Always il2cpp for IL2CPP source maps.
Allowed enum values: il2cpp
The size of the mapping file in bytes.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
WebAssembly symbol file data object.
Attributes of a WebAssembly symbol file.
The timestamp when the symbol file was created.
The file name of the symbol file.
The type of source map. Always wasm for WebAssembly symbol files.
Allowed enum values: wasm
The size of the symbol file in bytes.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
Portable PDB file data object.
Attributes of a Portable PDB file.
The timestamp when the symbol file was created.
The file name of the symbol file.
The type of source map. Always portable_pdb for Portable PDB files.
Allowed enum values: portable_pdb
The size of the symbol file in bytes.
The unique identifier of the source map.
The resource type for source map objects.
Allowed enum values: sourcemaps
{
"data" : [
{
"attributes" : {
"absolute_path" : "/js/bundle.min.js" ,
"blob_storage_sourcemap_path" : "org123/1.0.0/bundle.min.js.map" ,
"build_id" : "abc123" ,
"created_at" : "2024-01-01T00:00:00Z" ,
"debug_id" : "00000000-0000-4000-8000-000000000001" ,
"domain" : "example.com" ,
"file_name" : "bundle.min.js" ,
"mapkind" : "js" ,
"service" : "my-web-service" ,
"size" : 1024 ,
"variant" : "release" ,
"version" : "1.0.0" ,
"version_code" : "100"
},
"id" : "5" ,
"type" : "sourcemaps"
}
]
} Bad Request
API error response.
Expand All
A human-readable explanation specific to this occurrence of the error.
Non-standard meta-information about the error
References to the source of the error.
A string indicating the name of a single request header which caused the error.
A string indicating which URI query parameter caused the error.
A JSON pointer to the value in the request document that caused the error.
Status code of the response.
Short human-readable summary of the error.
{
"errors" : [
{
"detail" : "Missing required attribute in body" ,
"meta" : {},
"source" : {
"header" : "Authorization" ,
"parameter" : "limit" ,
"pointer" : "/data/attributes/title"
},
"status" : "400" ,
"title" : "Bad Request"
}
]
} Not Found
API error response.
Expand All
A human-readable explanation specific to this occurrence of the error.
Non-standard meta-information about the error
References to the source of the error.
A string indicating the name of a single request header which caused the error.
A string indicating which URI query parameter caused the error.
A JSON pointer to the value in the request document that caused the error.
Status code of the response.
Short human-readable summary of the error.
{
"errors" : [
{
"detail" : "Missing required attribute in body" ,
"meta" : {},
"source" : {
"header" : "Authorization" ,
"parameter" : "limit" ,
"pointer" : "/data/attributes/title"
},
"status" : "400" ,
"title" : "Bad Request"
}
]
} Too many requests
{
"errors" : [
"Bad Request"
]
} Internal Server Error
API error response.
Expand All
A human-readable explanation specific to this occurrence of the error.
Non-standard meta-information about the error
References to the source of the error.
A string indicating the name of a single request header which caused the error.
A string indicating which URI query parameter caused the error.
A JSON pointer to the value in the request document that caused the error.
Status code of the response.
Short human-readable summary of the error.
{
"errors" : [
{
"detail" : "Missing required attribute in body" ,
"meta" : {},
"source" : {
"header" : "Authorization" ,
"parameter" : "limit" ,
"pointer" : "/data/attributes/title"
},
"status" : "400" ,
"title" : "Bad Request"
}
]
} コード例 コピー
# Required query arguments export mapkind = "js" export dry_run = "true" # Use a Personal Access Token or Service Access Token export DD_BEARER_TOKEN = "<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>" # Curl command curl -X DELETE "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/v2/sourcemaps ? mapkind = ${mapkind} & dry_run = ${dry_run} " \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN} "