POST
/
api
/
v1
/
orgs
/
create
Create an organization
curl --request POST \
  --url https://zeropath.com/api/v1/orgs/create \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '{
  "name": "<string>",
  "domain": "<string>",
  "moveRepositories": true
}'
{
  "organizationId": "<string>"
}

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
name
string
required
domain
string
moveRepositories
boolean

Response

Successful response

organizationId
string