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

InfluxDB 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.

InfluxDB Organizations API is one of 40 APIs that InfluxDB publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

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

This API exposes 11 operations across 6 paths, and defines 14 schemas. It is described by OpenAPI 3.0.0.

Requests are made against the base URL https://cloud2.influxdata.com/api/v2.

11 operations 6 paths 14 schemas 3 DELETE4 GET1 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
Base URL
https://cloud2.influxdata.com/api/v2
Authentication
HTTP Basic, API Key
Resource Areas
1

Authentication & Security 2

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

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

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

Schemas 14

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

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

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

influxdb-organizations-api-openapi.yml Raw ↑

Other APIs InfluxDB publishes across the network.

InfluxDB Authorizations (API tokens) API
InfluxDB Bucket Schemas API
InfluxDB Buckets API
InfluxDB Cells API
InfluxDB Checks API
InfluxDB Config API
InfluxDB Dashboards API
InfluxDB Data I/O endpoints API
InfluxDB DBRPs API
InfluxDB Delete API
InfluxDB Invokable Scripts API
InfluxDB Labels API