Skip to main content
POST
Create a company and assign the authenticated user as its administrator

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

Idempotency-Key
string
gerekli

Required request key (8-128 ASCII letters, digits, dots, underscores, colons or hyphens). Replaying the same payload returns the same company; conflicting reuse returns 409.

Gövde

application/json
name
string
gerekli

The company name.

Maximum string length: 255
country_id
integer
gerekli

The active country identifier.

Yanıt

success
string
gerekli
data
AccountTenantResource · object
gerekli