Create New Organization
POST/org
Create a new Organization
Request
Query Parameters
name stringrequired
Name for the new organization
port integerrequired
Port for the new organization
currentOrgId stringrequired
Organization to which the user making the request belongs (for example, default)
Responses
- 200
- 401
- 404
- 500
Success.
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"status": {
"i18n_message": "response.ok",
"message": "OK"
},
"response": {
"id": "fdddd657-7ae7-45fe-49d6-d3ae1ea3ec65",
"name": "new organization"
}
}
{
"status": {
"i18n_message": "response.ok",
"message": "OK"
},
"response": {
"id": "fdddd657-7ae7-45fe-49d6-d3ae1ea3ec65",
"name": "new organization"
}
}
This error will occur if calling user does not have access right for the API.
This error will occur if the org identified by orgId does not exist.
A server error occurred. Check the logs for more details.
Loading...