Endpoint
- Method:
DELETE - Path:
/referrals/{id} - Edition: Core
- Controller:
ReferralController@destroy - Route source:
app/Http/Routes/api.php
DELETE Delete Referral
DELETE
/referrals/{id}
Delete a referral.
Controller: ReferralController@destroy
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"
}