influxdata / openapi

An OpenAPI specification for influx (cloud/oss) apis.
MIT License
17 stars 10 forks source link

feat: Add `POST /api/v2private/orgs` to unity #496

Closed gspletzer closed 2 years ago

gspletzer commented 2 years ago

Quartz #6659

In multi-org a user will be able to add an organization to an account in the UI. Due to redirects in the Quartz version of this API, we had to make a separate endpoint for this new feature. This endpoint (POST /api/v2private) requires region, provider, and orgName in the request. It will return a 201 with the new organization if successful, otherwise it will return one of the following errors: 400, 401, 409, and 500.