Decline an affiliate program
POST
https://api.tamio.com/v2/agency/affiliate-programs/decline/{uuid}
Declines a previously approved public affiliate program, removing it from the public affiliate network. Agency owners can decline programs from their clients.
Path Parameters
uuid
string*
UUID of the affiliate program to decline
Responses
200
Affiliate program declined successfully
Affiliate program declined successfully
status
integer
program
AffiliateProgram
400
Validation or business-logic error. Possible `error_code` values:
Validation or business-logic error. Possible error_code values:
1002– ResourceNotFound: affiliate program not found10317– AffiliateProgramAlreadyApproved: program is not currently approved403– NotAuthorised: user cannot decline this program
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string