Pular para o conteúdo

Excluir lead

DELETE
/api/seller/external/v1/lead/{id}
curl --request DELETE \
"https://api.spelt.com.br/api/seller/external/v1/lead/architecto" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json"

Lead que também é contraparte de um lançamento do Financeiro não é excluído (400).

id
required
string

ULID do lead.

Media typeapplication/json
object
data
object
id
string
Example
{
"data": {
"id": "01JA0000000000000000000020"
}
}
Media typeapplication/json
One of:
object
message
string
Example
{
"message": "Descrição do erro."
}
Media typeapplication/json
object
error
string
Example
{
"error": "Recurso não encontrado"
}