apistockdocs
v0.4 GitHub apistock.dev
API reference/Organisations

Create an organisation

POST /v1/orgs
You become its owner.

Authorization

bearer
Authorizationheader · stringrequired

Session token from POST /v1/auth/login with "transport": "bearer". Browsers use the session cookie that login sets instead.

Body

application/json
namestringrequired
maxLength: 100

Responses

errors: application/problem+json
201

Created

401

Unauthorized

422

Unprocessable Entity

500

Internal Server Error

Match errors on the problem's code, which stays the same, not on its message.

esc
↑↓ move↵ openesc close