v4

latestOpenAPI 3.1.02026-08-02261331761.5 KB
Bulk Operations

Bulk Create Tenants

post/v2/facts/{proj_id}/{env_id}/bulk/tenants

Path parameters

proj_idstring required

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

Either the unique id of the project, or the URL-friendly key of the project (i.e: the "slug").

env_idstring required

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Either the unique id of the environment, or the URL-friendly key of the environment (i.e: the "slug").

Request body

Example request

{
  "operations": [
    {
      "key": "stripeinc",
      "name": "Stripe Inc",
      "attributes": {
        "allowed_locations": [
          "US",
          "CA"
        ]
      }
    }
  ]
}

Response

Successful Response

TenantCreateBulkOperationResult required