Skip to main content
POST
Python (SDK)

Autorizaciones

Authorization
string
header
requerido

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Encabezados

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Cuerpo

application/json
keyId
string
requerido
Minimum string length: 1
scopes
string[]
requerido
Minimum array length: 1
Minimum string length: 1
name
string
Required string length: 1 - 120
rateLimitEnabled
boolean
rateLimitTimeWindow
rateLimitMax
number
Rango requerido: x >= 1

Respuesta

Actualizado

id
string
requerido
userId
string
requerido
userType
enum<string>
requerido
Opciones disponibles:
user,
service-account
orgId
string | null
requerido
teamId
string | null
requerido
scopes
string[]
requerido
name
string | null
key
string
prefix
string | null
start
string | null
expiresAt
string | null