Delete an affiliate

DELETE https://api.tamio.com/v2/affiliates/{uuid}

Deletes an affiliate partner. Optionally blocks the affiliate to prevent future applications from the same email address.

Path Parameters

uuid string*

UUID of the affiliate to delete.

Query Parameters

block boolean*

Whether to block the affiliate before deletion (prevents future applications).

Responses

200 Affiliate deleted successfully.

Affiliate deleted successfully.

status integer
400 Validation or business logic error. Possible causes:
401 Missing or invalid Bearer token.
/affiliates/{uuid}
1const response = await fetch("https://api.tamio.com/v2/affiliates/{uuid}", {
2 method: "DELETE",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 // ... request body
9 })
10});
11const data = await response.json();
Responses
{
  "status": 200
}