Set the application's data-residency region.
POST
Secret API key operationId: set_region/v1/security/region Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Request body · required
regionstring required`us | eu | ap`.
Responses
200 Region set
{
"data": {
"region": "string"
},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 422 Unknown region
Request
curl -X POST "http://localhost:8080/v1/security/region" \
-H "Content-Type: application/json" \
-d '{
"region": "eu"
}'Try it
live requestPOST
http://localhost:8080/v1/security/region