Skip to content

Create an organization

post/v1/organizations

The fine-grained token must include the following permissions to access this endpoint:

  • organizations_create

Body

  • name
    Required
    string

Response codes

  • 201
  • 401
  • 403
  • 429
  • 500

Response (201)

{
"id": "lorem",
"slug": "tsrqponmlkjihgfedcba",
"name": "lorem"
}
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Deprecated: Use `slug` instead.",
"deprecated": true
},
"slug": {
"type": "string",
"pattern": "^[\\w-]+$",
"description": "Organization slug",
"example": "tsrqponmlkjihgfedcba"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"slug",
"name"
]
}