Referrals
Revoke referral
Revoke a referral so that its code can no longer be redeemed. Revocation is permanent.
Organisations that have previously redeemed the referral keep their copies of the application data.
put/v1/applications/{applicationId}/referrals/{referralId}/revoke
Request
- Base URLhttps://api.apply.akahu.nz
- URLhttps://api.apply.akahu.nz/v1/applications/{applicationId}/referrals/{referralId}/revoke
- AuthHTTP bearer
Path parameters
applicationIdstring required
Example:application_tz4a98xxat96iws9zmbrgj3a
referralIdstring required
Example:referral_tz4a98xxat96iws9zmbrgj3a
Response
Success
Example response
{
"_id": "referral_tz4a98xxat96iws9zmbrgj3a",
"code": "AK_23456789BC"
}Changes
No recorded changes to this operation across all 1 revision of this API.