---
title: "Add data center to all fabrics from all tenants"
method: POST
path: "/_api/tenant/datacenter/{datacenter}/syncall"
tags: ["Administration"]
---

# Add data center to all fabrics from all tenants

`POST /_api/tenant/datacenter/{datacenter}/syncall`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_api/tenant/datacenter/:datacenter/syncall/post.ts> (a function with typed inputs; its response is checked against the schema)

Add data center to all fabrics from all tenants.

**Note**:
- Synchronize all *tenants* from remote regions, including all *GeoFabrics* created for each tenant.
- While the new data center is being added to the all fabrics, the new data center is not available for normal operations until after the synchronization is finished.
- Requires *administrator* permissions.

## Path parameters

- `datacenter` string, required

## Query parameters

- `remoteDc` string
- `command` string
- `skip` boolean
- `excludeTenants` string
- `force` boolean
- `priority` string

## Response `200`

Successfully added data center to all fabrics form all tenants.

- object
  - `code` integer: HTTP response code.
  - `error` boolean: Flag if there is an error in response. *False* for this response.
  - `result` boolean: *True* if successfully added data center to all febrics from all tenant.

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `401`: Failed because you do not have administrator permissions.
- `403`: Failed to validate because you do not have access to the server.
- `404`: Failed to find specified data center.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
