Create an organization

Create a new organization with the specified details. This endpoint allows authenticated users to establish new organizational structures with custom names, descriptions, and initial settings. The creator automatically becomes the owner of the new organization.

POST
/organizations
AuthorizationBearer <token>

In: header

Request Body

application/json

organization details

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://api-testnet.dual.network/organizations" \  -H "Content-Type: application/json" \  -d '{    "fqdn": "string",    "name": "string"  }'
{
  "id": "string"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}