Create a backup for an environment
POST
/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/backups/{type}
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/test-org/applications/test-app/environments/test-env/backups/database';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"description":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.quantcdn.io/api/v3/organizations/test-org/applications/test-app/environments/test-env/backups/database \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "description": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
Example
test-orgapplication
required
string
The application ID
Example
test-appenvironment
required
string
The environment ID
Example
test-envtype
required
string
The backup type
Request Body
Section titled “Request Body”Media typeapplication/json
object
description
Optional backup description
string
Examplegenerated
{ "description": "example"}Responses
Section titled “Responses”Backup operation initiated
Media typeapplication/json
object
backupId
string
status
string
message
string
Examplegenerated
{ "backupId": "example", "status": "example", "message": "example"}