Disable legacy URL aliases APIedit

[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Disable a legacy URL alias in Kibana.


POST <kibana host>:<port>/api/spaces/_disable_legacy_url_aliases

Request bodyedit


(Required, object array) The aliases to disable.

Properties of aliases
(Required, string) The space where the alias target object exists.
(Required, string) The type of the alias target object.
(Required, string) The ID of the alias source object. This is the "legacy" object ID.

Response codesedit

Indicates a successful call.


$ curl -X POST api/spaces/_disable_legacy_url_aliases
  "aliases": [
      "targetSpace": "bills-space",
      "targetType": "dashboard",
      "sourceId": "123"

This example leaves the alias intact, but the legacy URL for this alias, http://localhost:5601/s/bills-space/app/dashboards#/view/123, will no longer function. The dashboard still exists, and you can access it with the new URL.