Admin - Test Users
Admin - Test Users

Revert User To Free

Revert user to free plan for testing.

Testing endpoint - This will:

  1. Find or create free plan
  2. Cancel any existing active subscriptions
  3. Create new active free subscription
  4. Apply free plan limits
post/api/v1/admin/test/users/{user_id}/revert-to-free

Request

  • Base URL: https://api.gemstoneaiapp.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gemstoneaiapp.com/api/v1/admin/test/users/{user_id}/revert-to-free
  • Auth: none declared

Path parameters

user_idinteger required

Headers

x-admin-keystring nullable

Response

Successful Response

successboolean required
messagestring required
user_idinteger required
plan_namestring required
subscription_statusstring required

Changes

No recorded changes to this operation across all 1 revision of this API.