Skip to main content
PUT
Propose new policy
Draft: specification in progress. Endpoints and fields may change.

Authorizations

Authorization
string
header
required

The organization's API key (tesa_live_... in production, tesa_test_... in the sandbox).

Body

application/json
alocacao
object[]
required

The percentages must add up to 100.

comentario
string

Response

New version registered.

versao
integer
Example:

3

alocacao
object[]
status
enum<string>
Available options:
vigente,
pendente
aprovada_por
string | null
vigente_desde
string<date-time> | null