Update a saved object Deprecated

PUT /api/saved_objects/{type}/{id}

Update the attributes for Kibana saved objects.

Headers

  • kbn-xsrf string Required

    Cross-site request forgery protection

Path parameters

  • id string Required

    An identifier for the saved object.

  • type string Required

    Valid options include visualization, dashboard, search, index-pattern, config.

application/json; Elastic-Api-Version=2023-10-31

Body Required

object object

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31

    Indicates a successful call.

  • 404 application/json; Elastic-Api-Version=2023-10-31

    Indicates the object was not found.

  • 409 application/json; Elastic-Api-Version=2023-10-31

    Indicates a conflict error.

PUT /api/saved_objects/{type}/{id}
curl \
 -X PUT https://localhost:5601/api/saved_objects/{type}/{id} \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31" \
 -H "kbn-xsrf: string"
Request examples
# Headers
kbn-xsrf: string

# Payload
{}
Response examples (200)
{}
Response examples (404)
{}
Response examples (409)
{}