Reference

Create org

Creates an organization. Needs the server's admin token.

POST
/orgs

Authorization

bearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
name*string
Length1 <= length <= 100
id?string

The id, when the console made the organization. Then no key is made: its people sign in.

Match^[A-Za-z0-9_-]{1,64}$

Response Body

The organization.

application/json
  1. response
id*string
key*|

The first admin key, shown only this once.

Example Request
curl -X POST 'https://example.com/v1/orgs' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "id": "string",  "key": "string"}