/api/v1/tenants/{tenantId}/servers/{serverId}/backups (POST)
POST
/api/v1/tenants/{tenantId}/servers/{serverId}/backups
const url = 'https://example.com/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/servers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/backups';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","ignored":["example"],"locked":false}'};
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://example.com/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/servers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/backups \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "ignored": [ "example" ], "locked": false }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”serverId
required
string format: uuid
tenantId
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
null | string
ignored
required
Array<string> | null
locked
boolean
Responses
Section titled “Responses”OK