CRDB flush requests
Flush Active-Active database requests
| Redis Enterprise Software | 
|---|
| Method | Path | Description | 
|---|---|---|
| PUT | /v1/crdbs/{crdb_guid}/flush | Flush an Active-Active database | 
Flush an Active-Active database
PUT /v1/crdbs/{crdb_guid}/flush
Flush an Active-Active database.
Request
Example HTTP request
PUT /v1/crdbs/552bbccb-99f3-4142-bd17-93d245f0bc79/flush
Headers
| Key | Value | Description | 
|---|---|---|
| X-Task-ID | string | Specified task ID | 
| X-Result-TTL | integer | Time (in seconds) to keep task result | 
URL parameters
| Field | Type | Description | 
|---|---|---|
| crdb_guid | string | Globally unique Active-Active database ID (GUID) | 
Query parameters
| Field | Type | Description | 
|---|---|---|
| async_flush | boolean | Perform asynchronous flush operation (optional) | 
Response
Returns a CRDB task object.
Status codes
| Code | Description | 
|---|---|
| 200 OK | Action was successful. | 
| 400 Bad Request | The request is invalid or malformed. | 
| 401 Unauthorized | Unauthorized request. Invalid credentials | 
| 404 Not Found | Configuration or Active-Active database not found. | 
| 406 Not Acceptable | Configuration cannot be accepted, typically because it was already committed. |