Export resets status database action requests
Reset database export status requests
Method | Path | Description |
---|---|---|
PUT | /v1/bdbs/{uid}/actions/export_reset_status |
Reset database export status |
Reset database export status
PUT /v1/bdbs/{int: uid}/actions/export_reset_status
Resets the database's export_status
to idle if an export is not in progress and clears the value of the export_failure_reason
field.
Permissions
Permission name | Roles |
---|---|
reset_bdb_current_export_status | admin cluster_member db_member |
Request
Example HTTP request
PUT /bdbs/1/actions/export_reset_status
Request headers
Key | Value | Description |
---|---|---|
Host | cnm.cluster.fqdn | Domain name |
Accept | application/json | Accepted media type |
URL parameters
Field | Type | Description |
---|---|---|
uid | integer | The unique ID of the database |
Response
Returns a status code.
Status codes
Code | Description |
---|---|
200 OK | The request is accepted and is being processed. |
404 Not Found | Attempting to perform an action on a nonexistent database. |
406 Not Acceptable | Not all the modules loaded to the database support 'backup_restore' capability |
409 Conflict | Database is currently busy with another action. In this context, this is a temporary condition and the request should be reattempted later. |