Pular para o conteúdo principal
PUT
Update an AI Action package

Autorizações

api_access_token
string
header
obrigatório

Token de um Platform App, gerado pelo super admin. Usado para provisionar contas, usuários, papéis e bots.

Parâmetros de caminho

id
integer
obrigatório

Corpo

credit_package
object
obrigatório

Attributes to set. prices always replaces the whole price table: a currency missing from the list is deleted.

Resposta

Package updated

A one-off package of AI Actions.

id
integer
name
string
ai_actions
integer

AI Actions granted when the package is paid.

validity_days
integer

Days until the granted credits expire.

position
integer
active
boolean
prices
object[]
created_at
string<date-time>
updated_at
string<date-time>