Endpoint
- Method:
DELETE - Path:
/affiliates/{id} - Edition: Core
- Controller:
AffiliateController@deleteAffiliate - Route source:
app/Http/Routes/api.php
DELETE Delete Affiliate
DELETE
/affiliates/{id}
Permanently delete an affiliate.
Controller: AffiliateController@deleteAffiliate
Route source: app/Http/Routes/api.php
Authorizations
ApplicationPasswords
WordPress Application Passwords — use Basic auth with username:application_password.
Type
API Key (header: Authorization)
Parameters
Path Parameters
id*
The id.
Type
Requiredinteger
Responses
Successful response
application/json
JSON
{
"message": "string"
}