Authorizations
Apikey
Path Parameters
Body
application/json
curl --request PUT \
--url https://api.wappfy.com.br/api/{session}/labels/{labelId} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"name": "Lead",
"colorHex": "#ff9485",
"color": null
}'
{
"id": "1",
"name": "Lead",
"color": 0,
"colorHex": "#ff9485"
}
O parâmetro deve ser o instanceName da sessão.
curl --request PUT \
--url https://api.wappfy.com.br/api/{session}/labels/{labelId} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"name": "Lead",
"colorHex": "#ff9485",
"color": null
}'
{
"id": "1",
"name": "Lead",
"color": 0,
"colorHex": "#ff9485"
}
Apikey