Skip to main content
PATCH
Update a macro

Autorizações

api_access_token
string
header
obrigatório

Parâmetros de caminho

id
string<uuid>
obrigatório

Macro ID (UUID)

Corpo

application/json
name
string
obrigatório

Macro name

Required string length: 1 - 255
Exemplo:

"Resolver e agradecer cliente"

actions
object[]
obrigatório

List of actions that will be executed

Minimum array length: 1
visibility
enum<string>
padrão:personal

Macro visibility (agents can only create personal)

Opções disponíveis:
personal,
global
Exemplo:

"global"

Resposta

Macro updated successfully

success
boolean
obrigatório
Exemplo:

true

data
object
obrigatório
meta
object
obrigatório
message
string
obrigatório

Success message

Exemplo:

"Macro updated successfully"