Skip to main content
POST
/
v1
/
admin
/
subscriptions
/
revoke
curl -X POST https://portal-api.7331.org/v1/admin/subscriptions/revoke \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"user_id": 42, "reason": "Subscription expired"}'
{
  "message": "Subscription revoked for user 42"
}

Documentation Index

Fetch the complete documentation index at: https://docs.7331.org/llms.txt

Use this file to discover all available pages before exploring further.

Requires an active admin session cookie. Hierarchy enforced against the target.
user_id
integer
required
User ID of the target.
reason
string
required
Reason for revoking (1-500 characters).

Response

message
string
required
Action result message.
curl -X POST https://portal-api.7331.org/v1/admin/subscriptions/revoke \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"user_id": 42, "reason": "Subscription expired"}'
{
  "message": "Subscription revoked for user 42"
}