Skip to main content
POST
Create a private module draft

Authorizations

Authorization
string
header
required

Partner admin session token sent as Authorization: Bearer <token>. Obtained by signing in (console or the email OTP endpoints) and completing the second factor; see the Authentication page.

Body

application/json
slug
string
required
Required string length: 1 - 64
Pattern: ^[a-z0-9-]+$
name
string
required
Required string length: 1 - 128
kind
enum<string>
required
Available options:
proprietary,
in_house,
third_party
vendor
string
Maximum string length: 128

Response

Private module draft created

id
string
required
slug
string
required
name
string
required
kind
enum<string>
required
Available options:
proprietary,
in_house,
third_party
vendor
string | null
required
owner_organization_id
string | null
required
current_version_id
string | null
required
status
enum<string>
required
Available options:
draft,
published,
deprecated
created_at
string
required
updated_at
string
required