Saltar al contenido principal
PUT
Assign an account plan to an account

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

organization_id
string
requerido

Organization ID (UUID)

ledger_id
string
requerido

Ledger ID (UUID)

account_id
string
requerido

Account ID (UUID)

Cuerpo

application/json
accountPlanId
string<uuid>
requerido

Account plan to assign. It must belong to the ledger of the path, not be deleted and be enabled.

Ejemplo:

"00000000-0000-0000-0000-000000000000"

Respuesta

OK

accountAlias
string
requerido
Ejemplo:

"@cliente_x"

accountId
string
requerido
Ejemplo:

"00000000-0000-0000-0000-000000000000"

accountPlanId
string
requerido
Ejemplo:

"00000000-0000-0000-0000-000000000000"

endedAt
string<date-time> | null
requerido

Instant the assignment ended; null while it is active.

Ejemplo:

"2026-02-01T00:00:00Z"

id
string
requerido
Ejemplo:

"00000000-0000-0000-0000-000000000000"

ledgerId
string
requerido
Ejemplo:

"00000000-0000-0000-0000-000000000000"

organizationId
string
requerido
Ejemplo:

"00000000-0000-0000-0000-000000000000"

startedAt
string<date-time>
requerido
Ejemplo:

"2026-01-01T00:00:00Z"