Docs
delete https://api.affiliates.iugu.com/affiliates/{id}

Exclui um afiliado

Sem ações implementadas definidas

Request

Path variables

id

Required

Type: string

ID do afiliado

Ex: 5EufttluGZIPaQKN5PF4X4

Headers

workspace_id

Required

Type: string

Identificador do workspace

Ex: 4fHECmQtLdROI4fDLWMiLd

Response

200

OK

message
String

Mensagem de sucesso ao excluir afiliado

Ex: Affiliate deleted successfully.

Example
1
2
3
{
  "message": "Affiliate deleted successfully."
}

404

Not Found

message
String

Ex: Registro não encontrado.

Example
1
2
3
{
  "message": "Registro não encontrado."
}

500

Internal Server Error

status
String

Ex: 500

title
String

Ex: Internal Server Error

detail
String

Ex: Internal Error, try again later

Example
1
2
3
4
5
{
  "status": "500",
  "title": "Internal Server Error",
  "detail": "Internal Error, try again later"
}