Skip to main content
POST
/
label
/
edit
Editar etiqueta
curl --request POST \
  --url https://api.wppfy.com/label/edit \
  --header 'Content-Type: application/json' \
  --header 'token: <api-key>' \
  --data '
{
  "labelid": "25",
  "name": "responder editado",
  "color": 2,
  "delete": false
}
'
{
  "response": "Label edited"
}

Authorizations

token
string
header
required

Body

application/json
labelid
string
required

ID da etiqueta a ser editada

Example:

"25"

name
string

Novo nome da etiqueta

Example:

"responder editado"

color
integer

Código numérico da nova cor (0-19)

Required range: 0 <= x <= 19
Example:

2

delete
boolean

Indica se a etiqueta deve ser deletada

Example:

false

Response

Etiqueta editada com sucesso

response
string
Example:

"Label edited"