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 /crdbs/1/flush

Request 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)

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.