Overview
Stops a running data migration or synchronization project. Corresponds to CommonProjectController.stopProject.
API details
Constraints
The caller must have an AccessKey to access the multi-cloud API. For information about how to obtain the AccessKey ID and AccessKey Secret, see Manage AccessKeys.
Request path
POST /api/v2/oms/project/stop
Request parameters
Query
Body
Response parameters
Examples
Request example
curl --digest -u '<your AK:SK>' \
--request POST \
--url 'https://api-cloud.oceanbase.com/api/v2/oms/project/stop' \
-H 'Content-Type: application/json' \
-H 'X-Ob-Project-Id: <project ID>' \
-H 'X-Ob-Org-Id: <organization ID>' \
--data '{"id":"np_7befdmp08juo"}'
Response example
{
"success": true,
"code": "200",
"message": "successful",
"requestId": "dc302d76-66b5-48d8-ab53-a035********",
"cost": "150"
}