Backup Service
List all available backup units.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/backupunits HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "<RESOURCE-URI>",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "backupunit",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "BackupUnitName",
"password": "mypass123",
"email": "[email protected]"
}
}
]
}
Create a backup unit. Backup units are resources, same as storage volumes or snapshots; they can be shared through groups in User management.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
The resource's unique identifier.
15f67991-0f51-4efc-a8ad-ef1fb31a480c
The type of object that has been created.
URL to the object representation (absolute path).
<RESOURCE-URI>
POST /cloudapi/v6/backupunits HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 103
{
"metadata": {},
"properties": {
"name": "BackupUnitName",
"password": "mypass123",
"email": "[email protected]"
}
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "backupunit",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "BackupUnitName",
"password": "mypass123",
"email": "[email protected]"
}
}
Modify the properties of the specified backup unit.
The unique ID of the backup unit.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
The resource's unique identifier.
15f67991-0f51-4efc-a8ad-ef1fb31a480c
The type of object that has been created.
URL to the object representation (absolute path).
<RESOURCE-URI>
PUT /cloudapi/v6/backupunits/{backupunitId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 79
{
"metadata": {},
"properties": {
"password": "mypass123",
"email": "[email protected]"
}
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "backupunit",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "BackupUnitName",
"password": "mypass123",
"email": "[email protected]"
}
}
Remove the specified backup unit.
This process will delete:
The backup plans inside the backup unit
All backups, associated with this backup unit
The backup user
The backup unit itself
The unique ID of the backup unit.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
DELETE /cloudapi/v6/backupunits/{backupunitId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
No content
Retrieve the properties of the specified backup unit.
The unique ID of the backup unit.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/backupunits/{backupunitId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "backupunit",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "BackupUnitName",
"password": "mypass123",
"email": "[email protected]"
}
}
Update the properties of the specified backup unit.
The unique ID of the backup unit.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
The name of the resource (alphanumeric characters only).
BackupUnitName
The password associated with that resource.
mypass123
The email associated with the backup unit. Bear in mind that this email does not be the same email as of the user.
[email protected]
PATCH /cloudapi/v6/backupunits/{backupunitId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 50
{
"password": "mypass123",
"email": "[email protected]"
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "backupunit",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "BackupUnitName",
"password": "mypass123",
"email": "[email protected]"
}
}
Retrieve a single sign-on URL for the specified backup unit.
The unique ID of the backup unit.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/backupunits/{backupunitId}/ssourl HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"ssoUrl": "https://<hostname>/?jwt=eyJ0eXAiO...W47AN5-_x7E"
}
Last updated
Was this helpful?