Admin

Set a user plan override

Assigns or removes an administrator plan override for a user. The override creates an admin-managed subscription on the user's personal organization, bypassing Paddle checkout. Pass an empty plan_id to remove the override.

put/admin/users/{user_id}/plan

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/admin/users/{user_id}/plan
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

user_idstring required

Target user ID

Request body

$schemastring uri

A URL to the JSON Schema for this object.

plan_idstring required

Plan ID to assign: founder (Solo), team, agency, or empty string to remove the override

Example request

{
  "$schema": "https://example.com/api/v1/schemas/SetUserPlanInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

plan_idstring required

Assigned plan ID, empty if override was removed

user_idstring required

User ID

Example response

{
  "$schema": "https://example.com/api/v1/schemas/SetUserPlanOutputBody.json"
}

Changes

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