Saltar al contenido principal
POST
Bind a policy to a ledger scenario

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Cuerpo

application/json
ledgerId
string
requerido

Ledger whose transactions the binding applies to.

limitsAction
enum<string>
requerido

Instruction for the policy's limits; INHERIT leaves it to the next binding or the fallback.

Opciones disponibles:
ENFORCE,
ADVISORY,
AUDIT,
OFF,
INHERIT
policyId
string
requerido

Policy the binding instructs.

rulesAction
enum<string>
requerido

Instruction for the policy's rules; INHERIT leaves it to the next binding or the fallback.

Opciones disponibles:
ENFORCE,
ADVISORY,
AUDIT,
OFF,
INHERIT
selector
object
requerido

Scheme the binding matches, compared without case; {} matches every transaction of the ledger. Any key other than scheme is refused.

position
integer<int64>

Order among the policy's bindings in the ledger, 1 first; omitted or 0 appends.

Respuesta

Created

bindingId
string
requerido
createdAt
string<date-time>
requerido
ledgerId
string
requerido
limitsAction
enum<string>
requerido
Opciones disponibles:
ENFORCE,
ADVISORY,
AUDIT,
OFF,
INHERIT
policyId
string
requerido
position
integer<int64>
requerido
rulesAction
enum<string>
requerido
Opciones disponibles:
ENFORCE,
ADVISORY,
AUDIT,
OFF,
INHERIT
selector
object
requerido
updatedAt
string<date-time>
requerido