Update template
cURL
curl --request PATCH \ --url https://api.e2b.app/v2/templates/{templateID} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "public": true }'
{ "names": [ "<string>" ] }
Whether the template is public or only accessible by the team
The template was updated successfully
Names of the template (namespace/alias format when namespaced)
Was this page helpful?