POST/services/{uuid}/databases/{database_uuid}/imports/uploads

Upload a service database import

Uploads a backup file for import into a service database. Identify the service and database with uuid and database_uuid; a 201 response confirms that the upload completed.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 parameters
uuidstringrequired
The unique identifier of the service containing the database.
database_uuidstringrequired
The unique identifier of the service database to import a backup into.

2 status codes
201Confirms that the database import upload completed.
422Returned when the upload request fails validation.
errorsobjectoptional
messagestringoptional

Error handling

A 422 is returned when the upload request fails validation. The uuid path parameter and database_uuid path parameter must identify the service and database for the import.