Pular para o conteúdo principal
POST
Publish a rule's draft version

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

rule_id
string
obrigatório

Rule ID (UUID)

Parâmetros de consulta

draftVersion
string

The draft version the caller reviewed. When given and the pending draft is another one, or there is none, nothing is published (409, 0603).

Resposta

OK

id
string
obrigatório

Rule or limit whose draft was published.

policyRevisions
object[] | null
obrigatório

One new revision per published policy that contains the rule or limit, pinning the new version.

version
integer<int64>
obrigatório

Version now current.