PUT <kibana host>:<port>/s/<space_id>/api/saved_objects/<type>/<id>

    PUT /s/<space_id>/api/saved_objects/<type>/<id>

    Path parameters

    space_id

    (Optional, string) An identifier for the space. If space_id is not provided in the URL, the default space is used.

    (Required, string) Valid options include visualization, dashboard, search, index-pattern, , and timelion-sheet.

    id

    (Required, string) The object ID to update.

    attributes

    (Required, object) The data to persist.

    references

    (Optional, array) Objects with name, id, and type properties that describe the other saved objects this object references. To refer to the other saved object, use name in the attributes, but never the id, which automatically updates during migrations or import/export.

    Response code

    Indicates a successful call.

    Update an existing index pattern object,my-pattern, with a different title:

    1. {
    2. "id": "my-pattern",
    3. "type": "index-pattern",
    4. "version": 2,
    5. "attributes": {
    6. }
    7. }

    Most Popular