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.datadoghq.com/api/v2/sourcemaps https://api.us3.datadoghq.com/api/v2/sourcemaps https://api.us5.datadoghq.com/api/v2/sourcemaps
Overview 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.
Arguments Query Strings The type of source map. Valid values are js, jvm, ios,
react, flutter, elf, ndk, il2cpp. Allowed enum values: js, jvm, ios, react, flutter, elf, ndk, il2cpp
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, and il2cpp.
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, and ndk.
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.
Response 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 domain associated with the source map.
The file name of the minified JavaScript file.
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 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 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 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 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 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 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 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
{
"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" ,
"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"
}
]
} Code Example Copy
# Required query arguments export mapkind = "js" export dry_run = "true" # 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.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 "DD-API-KEY: ${DD_API_KEY} " \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY} "