Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

InfluxData Organizations API

Manage your [organization](https://docs.influxdata.com/influxdb/cloud/reference/glossary/#organization).An organization is a workspace for a group of users. Organizations can beused to separate different environments, projects, teams or users withinInfluxDB.Use the `/api/v2/orgs` endpoints to view and manage organizations.

InfluxData Organizations API is one of 45 APIs that InfluxData publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Organizations. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, and a getting-started guide.

This API exposes 11 operations across 6 paths, and defines 13 schemas. It is described by OpenAPI 3.0.0, at version 2.0.1.

Requests are made against a single base URL, /api/v2.

11 operations 6 paths 13 schemas 3 DELETE4 GET1 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0.1
Base URL
https://us-east-1-1.aws.cloud2.influxdata.com/api/v2
Authentication
API Key, HTTP Basic
License
Resource Areas
1

Authentication & Security 2

InfluxData Organizations API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (TokenAuthentication). It accepts HTTP basic authentication (BasicAuthentication). By default, every request must be authenticated.

  • TokenAuthentication — Use the [Token authentication](section/Authentication/TokenAuthentication) scheme to authenticate to the InfluxDB API. In your API requests, send an Authorizat…
  • BasicAuthentication — Basic authentication scheme Use the HTTP Basic authentication scheme for InfluxDB /api/v2 API operations that support it: Syntax Authorization: Basic BASE64ENC…

Paths & Operations 11

Across 6 paths, the API surfaces 11 operations — 3 DELETE, 4 GET, 1 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Organizations 11

Manage your [organization](https://docs.influxdata.com/influxdb/cloud/reference/glossary/organization). An organization is a workspace for a group of users. Organizations can be u…

GET
/orgs
List organizations
GetOrgs 7 params → 200400401404500default
POST
/orgs
Create an organization
PostOrgs 1 param body → 201400401404500default
GET
/orgs/{orgID}
Retrieve an organization
GetOrgsID 2 params → 200401404500default
PATCH
/orgs/{orgID}
Update an organization
PatchOrgsID 2 params body → 200400401404500default
DELETE
/orgs/{orgID}
Delete an organization
DeleteOrgsID 2 params → 204400401404500default
GET
/orgs/{orgID}/members
List all members of an organization
GetOrgsIDMembers 2 params → 200400401404500default
POST
/orgs/{orgID}/members
Add a member to an organization
PostOrgsIDMembers 2 params body → 201400401404500default
DELETE
/orgs/{orgID}/members/{userID}
Remove a member from an organization
DeleteOrgsIDMembersID 3 params → 204401404500default
GET
/orgs/{orgID}/owners
List all owners of an organization
GetOrgsIDOwners 2 params → 200404default
POST
/orgs/{orgID}/owners
Add an owner to an organization
PostOrgsIDOwners 2 params body → 201400401404500default
DELETE
/orgs/{orgID}/owners/{userID}
Remove an owner from an organization
DeleteOrgsIDOwnersID 3 params → 204401404500default

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are Organization (8 properties), UserResponse (4 properties), Error (4 properties), Links (3 properties). Each schema is shown below with its type and property counts.

PatchOrganizationRequest
object
An object that contains updated organization properties to apply.
2 properties
AddResourceMemberRequestBody
object
2 properties 1 required
Link
string
URI of resource.
Links
object
URI pointers for additional paged results.
3 properties 1 required
ResourceMember
ResourceOwners
object
2 properties
UserResponse
object
4 properties 1 required
Organizations
object
2 properties
Organization
object
8 properties 1 required
ResourceOwner
PostOrganizationRequest
object
2 properties 1 required
ResourceMembers
object
2 properties
Error
object
4 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

influxdata-organizations-api-openapi.yml Raw ↑

Other APIs InfluxData publishes across the network.

InfluxData Authorizations (API tokens) API
InfluxData Backup API
InfluxData Bucket Schemas API
InfluxData Buckets API
InfluxData Cells API
InfluxData Checks API
InfluxData Config API
InfluxData Dashboards API
InfluxData Data I/O endpoints API
InfluxData DBRPs API
InfluxData Debug API
InfluxData Delete API