Skip to main content

Create a organization

POST /api/organizations creates a organization resource

Required scope: users:manage:all

Request Body REQUIRED
organization object
id string
name string
label string
Responses
200
Schema OPTIONAL
data object OPTIONAL
id string OPTIONAL
name string OPTIONAL
label string OPTIONAL
201
Schema OPTIONAL
data object OPTIONAL
id string OPTIONAL
name string OPTIONAL
label string OPTIONAL
400

Bad request.

Schema OPTIONAL
errors object OPTIONAL
401

The client is unauthorized to access this resource.

Schema OPTIONAL
code string
message string
403

The client is forbidden to access this resource.

Schema OPTIONAL
code string
message string
422

The request payload is invalid.

Schema OPTIONAL
errors object OPTIONAL