Skip to main content
PUT
Activate a rail for the caller's tenant

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

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

Parâmetros de caminho

channelId
enum<string>
obrigatório

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

Opções disponíveis:
spb,
pix

Resposta

OK

channelId
enum<string>
obrigatório
Opções disponíveis:
spb,
pix
registeredAt
string<date-time>
obrigatório
registeredBy
string
obrigatório

The operator who first activated the rail for the tenant.

Maximum string length: 128
state
enum<string>
obrigatório

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

Opções disponíveis:
REGISTERED,
ACTIVE,
SUSPENDED
tenantId
string
obrigatório

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