Path parameters
-
extension_id
string Required Id of an extension
Body
Required
The extension update data.
-
name
string Required The extension name.
-
description
string The extension description.
-
download_url
string The URL to download the extension archive.
-
extension_type
string Required The extension type.
Values are
plugin
orbundle
. -
version
string Required The Elasticsearch version.
Responses
-
200 application/json
Extension updated successfully.
-
400 application/json
Could not download the extension from the specified URL. (code:
extensions.request_execution_failed
) -
401 application/json
- The extension does not belong to you. (code:
extensions.unauthorised
) - Your current session does not have a user id associated with it. (code:
extensions.no_user_id
)
- The extension does not belong to you. (code:
-
404 application/json
The extension you want does not exist. (code:
extensions.not_found
) -
409 application/json
The version you sent does not match the persisted version. (code:
extensions.version_conflict
)
POST
/deployments/extensions/{extension_id}
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/deployments/extensions/{extension_id}' \
--header "Content-Type: application/json" \
--data '{"name":"string","description":"string","download_url":"string","extension_type":"plugin","version":"string"}'