Skip to main content
POST
/
templates
/
tags
cURL
curl --request POST \
  --url https://api.e2b.app/templates/tags \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "target": "<string>",
  "tags": [
    "<string>"
  ]
}
'
{
  "tags": [
    "<string>"
  ],
  "buildID": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
target
string
required

Target template in "name:tag" format

tags
string[]
required

Tags to assign to the template

Response

Tag assigned successfully

tags
string[]
required

Assigned tags of the template

buildID
string<uuid>
required

Identifier of the build associated with these tags