Skip to main content
PUT
/
deployments
/
extensions
/
{extension_id}
Uploads the Extension
curl --request PUT \
  --url https://api.elastic-cloud.com/api/v1/deployments/extensions/{extension_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "deployments": [
    "<string>",
    "<string>"
  ],
  "description": "<string>",
  "download_url": "<string>",
  "extension_type": "bundle",
  "file_metadata": {
    "last_modified_date": "<dateTime>",
    "size": "<long>",
    "url": "<uri>"
  },
  "id": "<string>",
  "name": "<string>",
  "url": "<string>",
  "version": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

extension_id
string
required

(Required) Id of an extension

Example:

"<string>"

Body

multipart/form-data
file
file

(Required) Zip file that contains the extension

Response

Archive uploaded successfully.

deployments
string[]
Example:
["<string>", "<string>"]
description
string
Example:

"<string>"

download_url
string
Example:

"<string>"

extension_type
string
Example:

"bundle"

file_metadata
object
id
string
Example:

"<string>"

name
string
Example:

"<string>"

url
string
Example:

"<string>"

version
string
Example:

"<string>"

I