Creates a new organization for the authenticated user.
If successful, this endpoint will return a 200 OK status.
One of the following scopes are required to use this endpoint.
The following arguments are supported for this endpoint.
Name | Type | Default Value |
---|---|---|
properties Required |
OrganizationCreateProperties | None |
The following errors may occur during this request.
Details | HTTP status |
---|---|
An error ocurred with the input provided |
422 Unprocessable Entity |
When the request is successful, you can expect an object matching the specification below to be returned.
{ organization: Organization { id: String name: String identifier: String time_zone: String? updated_at: Unix Timestamp managed: Boolean parent_id: String? users: [ OrganizationUser { user_id: String organization_id: String organization_name: String organization_identifier: String organization_managed: Boolean organization_parent_id: String? owner: Boolean organization_updated_at: Unix Timestamp roles: [ String? ] } ] } }