Delete Referral

Deletes a referral relationship for a specific user, decrementing the usage counter of the referral code. This allows the referrer to remove a user who used their referral code, making the code available for use again.

The signature is required to verify ownership of the referrer identifier (the owner of the referral code).

Required API Key Scope: referral_codes:read (requires signature) or service_role (no signature required)

Message to sign: The message must be exactly "I am deleting referral for user {user_identifier} from code {code}" where {user_identifier} is the identifier of the user being removed and {code} is the referral code.

Language
Credentials
Bearer
Click Try It! to start a request and see the response here!