cURL
curl --request POST \ --url {schemes}://api.upsun.com/projects/{projectId}/environments/{environmentId}/backup \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "safe": true }'
{ "status": "<string>", "code": 123 }
Trigger a new backup of an environment to be created. See the Backups section of the documentation for more information.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Take a safe or a live backup
The status text of the response
The status code of the response
Was this page helpful?