Add Project Region (V2)
This operation adds a new region to a specified project.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
The ID of the project to add projects to.
A region ID list.
A region ID. You can use the List regions to list applicable region IDs.
export TOKEN="YOUR_API_KEY"
export projectId="proj-xx"
curl --request POST \
--url "${BASE_URL}/v2/projects/${projectId}/regions" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json" \
-d '{
"regionIds": [
"aws-us-west-2"
]
}'
None
A success response
Response code.
Response payload which contains the current project and the regions added to the project this time.
One entry in the data array of the response payload, represented as a string. Each entry carries a single value returned for the add-project-region request.
A failure response.
Response code.
Error message.
{
"code": 0,
"data": {
"projectId": "proj-x"
}
}