# Set the Make.com zone for this tenant

`POST /api/integration/make-com/api/zone`

Authentication: no security requirement declared for this operation.

Request body: application/json (required)

Type: object

Schema: [SetZoneDTO](https://sourcey-gauzy.pages.dev/api-reference/models/setzonedto/index.md)

- `zone` (required)
  Type: string
  
  The Make.com zone that determines the API base URL
  
  enum: ["eu1","eu2","us1","us2"]
  
  Example:
  
  ```json
  "us2"
  ```

- `organizationId` (optional)
  Type: string
  
  Optional Gauzy organization ID

Responses:

- 201: 

## Examples

### cURL

```bash
curl -X POST 'http://localhost:3000/api/integration/make-com/api/zone' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "zone": "us2",
  "organizationId": "string"
}'
```

### JavaScript

```javascript
const body = `{
  "zone": "us2",
  "organizationId": "string"
}`;

const response = await fetch('http://localhost:3000/api/integration/make-com/api/zone', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body,
});

const data = await response.text();
```

### Python

```python
import requests

body = '''{
  "zone": "us2",
  "organizationId": "string"
}'''

response = requests.post(
    'http://localhost:3000/api/integration/make-com/api/zone',
    data=body.encode('utf-8'),
    headers={
        'Content-Type': 'application/json',
    },
)
print(response.text)
```
