Saltar al contenido principal
PUT
Activate a rail for the caller's tenant

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string
requerido

Idempotency key; a retry with the same key replays the first answer.

Parámetros de ruta

channelId
enum<string>
requerido

The rail. Closed vocabulary — a value outside it is a 404, never a new rail.

Opciones disponibles:
spb,
pix

Respuesta

OK

channelId
enum<string>
requerido
Opciones disponibles:
spb,
pix
registeredAt
string<date-time>
requerido
registeredBy
string
requerido

The operator who first activated the rail for the tenant.

Maximum string length: 128
state
enum<string>
requerido

Only an ACTIVE rail carries the tenant's inbound traffic.

Opciones disponibles:
REGISTERED,
ACTIVE,
SUSPENDED
tenantId
string
requerido

The caller's tenant: the validated identity's in multi-tenant, local in single-tenant. The identifier an engine's credential path names.

Maximum string length: 255
activatedAt
string<date-time>

When the rail last began carrying inbound traffic.

activatedBy
string

The operator who last activated or resumed the rail. Absent on an activation that predates the rail audit.

Maximum string length: 128
suspendReason
string
Maximum string length: 512
suspendedAt
string<date-time>
suspendedBy
string

The operator who suspended the rail. Absent when not suspended, or suspended before the rail audit.

Maximum string length: 128