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

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

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

Path Parameters

channelId
enum<string>
required

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

Available options:
spb,
pix

Response

OK

channelId
enum<string>
required
Available options:
spb,
pix
registeredAt
string<date-time>
required
registeredBy
string
required

The operator who first activated the rail for the tenant.

Maximum string length: 128
state
enum<string>
required

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

Available options:
REGISTERED,
ACTIVE,
SUSPENDED
tenantId
string
required

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