MethodPathDescription
PUT/v1/bdbs/{uid}/actions/import_reset_statusReset database import status

Reset database import status

PUT /v1/bdbs/{int: uid}/actions/import_reset_status

Reset the database’s import_status to idle if a backup is not in progress and clears the value of the import_failure_reason field.

Permissions

Permission nameRoles
reset_bdb_current_import_statusadmin
cluster_member
db_member

Request

Example HTTP request

PUT /bdbs/1/actions/import_reset_status

Headers

KeyValueDescription
Hostcnm.cluster.fqdnDomain name
Acceptapplication/jsonAccepted media type

URL parameters

FieldTypeDescription
uidintegerThe unique ID of the database

Response

Returns a status code.

Status codes

CodeDescription
200 OKThe request is accepted and is being processed.
404 Not FoundAttempting to perform an action on a nonexistent database.
406 Not AcceptableNot all the modules loaded to the database support ‘backup_restore’ capability
409 ConflictDatabase is currently busy with another action. In this context, this is a temporary condition and the request should be reattempted later.