Pular para o conteúdo principal
PUT
Assign an account plan to an account

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

organization_id
string
obrigatório

Organization ID (UUID)

ledger_id
string
obrigatório

Ledger ID (UUID)

account_id
string
obrigatório

Account ID (UUID)

Corpo

application/json
accountPlanId
string<uuid>
obrigatório

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

Exemplo:

"00000000-0000-0000-0000-000000000000"

Resposta

OK

accountAlias
string
obrigatório
Exemplo:

"@cliente_x"

accountId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

accountPlanId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

endedAt
string<date-time> | null
obrigatório

Instant the assignment ended; null while it is active.

Exemplo:

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

id
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

ledgerId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

organizationId
string
obrigatório
Exemplo:

"00000000-0000-0000-0000-000000000000"

startedAt
string<date-time>
obrigatório
Exemplo:

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