Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

Admin API key for organization-level operations (managing projects, API keys). Create one in Settings > API Keys or via POST /api/api-keys. Format: sk-lw-{id}_{secret}.

Path Parameters

id
string
required

Body

application/json
role
enum<string>
required
Available options:
ADMIN,
MEMBER,
VIEWER,
CUSTOM
scopeType
enum<string>
required
Available options:
ORGANIZATION,
TEAM,
PROJECT
scopeId
string
required
Minimum string length: 1
customRoleId
string
Last modified on June 9, 2026