Delete an affiliate program
DELETE
https://api.tamio.com/v2/affiliate-programs/{uuid}
Deletes an affiliate program by its UUID. Deletion will fail if the program still has active affiliates. Remove all affiliates before deleting.
Path Parameters
uuid
string*
UUID of the affiliate program to delete.
Responses
200
Program deleted successfully
Program deleted successfully
status
integer
id
string
UUID of the deleted program.
400
Validation or business logic error. Returned when:
Validation or business logic error. Returned when:
uuidis missing or not a valid UUID format
Error codes:
| Code | Description |
|---|---|
| 1002 | Affiliate program not found |
| 10316 | Program has active affiliates and cannot be deleted |
status
integer
error
string
error_code
integer
401
Missing or invalid API key
Missing or invalid API key
status
integer
error
string