curl -X POST https://hapi.7331.org/v1/admin/subscriptions/user/123456789012345678/revoke \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{"reason": "Subscription expired"}'
{
"message": "Subscription revoked successfully"
}
Revoke a subscription, reverting the entity to Basic tier (admin only).
curl -X POST https://hapi.7331.org/v1/admin/subscriptions/user/123456789012345678/revoke \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{"reason": "Subscription expired"}'
{
"message": "Subscription revoked successfully"
}
user, guild.curl -X POST https://hapi.7331.org/v1/admin/subscriptions/user/123456789012345678/revoke \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{"reason": "Subscription expired"}'
{
"message": "Subscription revoked successfully"
}
Was this page helpful?