Skip to main content
PATCH
/
templates
/
{templateID}
cURL
curl --request PATCH \
  --url https://api.e2b.app/templates/{templateID} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "public": true
}'
{
  "code": 123,
  "message": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

templateID
string
required

Body

application/json
public
boolean

Whether the template is public or only accessible by the team

Response

The template was updated successfully