Update template
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>" }
Whether the template is public or only accessible by the team
The template was updated successfully
Was this page helpful?