Saltar al contenido principal
POST
Go (SDK)

Autorizaciones

Authorization
string
header
requerido

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Encabezados

X-On-Behalf-Of
string

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

Parámetros de ruta

id
string
requerido

The agent ID.

Cuerpo

application/json
name
string
requerido
Required string length: 1 - 255
domain
string
requerido

El anfitrión al que se le puede enviar el secreto.

value
string
requerido
description
string | null
Maximum string length: 2000
expires_at
string<date-time> | null

Respuesta

Almacenado.

id
string
object
enum<string>
Opciones disponibles:
secret
name
string
domain
string
description
string | null
value_preview
string | null

Masked preview; the value is never returned.

expires_at
string<date-time> | null
last_used_at
string<date-time> | null
created_at
string<date-time>
updated_at
string<date-time>