Delete source map

edit

Delete a previously uploaded source map.

Privileges
edit

The user accessing this endpoint requires All Kibana privileges for the APM and User Experience feature. For more information, see Kibana privileges.

Request
edit

DELETE /api/apm/sourcemaps/:id

Example
edit

The following example deletes a source map with an id of apm:foo-1.0.0-644fd5a9:

curl -X DELETE "http://localhost:5601/api/apm/sourcemaps/apm:foo-1.0.0-644fd5a9" \
-H 'Content-Type: application/json' \
-H 'kbn-xsrf: true' \
-H 'Authorization: ApiKey ${YOUR_API_KEY}'
Response body
edit
{}