Create new organization

Prev Next
Post
/network/organizations

Required permissions: READ_ORGANIZATION, WRITE_ORGANIZATION.

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the target tenant (e.g. acme).

Body parameters

The details of organization being created.

Expand All
object

The bean providing organization details.

name
string

The name of the organization.

country
string

The country the organization belongs to.

timezone
string

The timezone used for date/times localization (e.g. Europe/Rome).

parent
object

The parent organization identifier (required only for creation).

id
string
Example1234abcd
Responses
201

Successful creation.

Expand All
object

The bean providing organization details.

id
string

The organization object identifier.

name
string

The name of the organization.

country
string

The country the organization belongs to.

timezone
string

The timezone used for date/times localization (e.g. Europe/Rome).

parent
object

The parent organization identifier (required only for creation).

id
string
Example1234abcd
400

Request data not valid.

object
message
string

The error response.

ExampleBad request
401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
429

API call rate limit exeeded.

object
message
string

The error response.

ExampleAPI call rate limit exeeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error