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
Available options:
REGISTERED,
ACTIVE,
SUSPENDED
tenantId
string
required

The caller's tenant, from the validated identity: the identifier an engine's credential path names.

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

When the rail last began carrying traffic.

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