Admin

Change the plan of any workspace

patch/api/v1/admin/workspaces/{workspaceId}

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/admin/workspaces/{workspaceId}
  • Auth: HTTP bearer

Path parameters

workspaceIdinteger required

Request body

clear_trialboolean

Remove the trial end date so the plan never expires

plan'free' | 'starter' | 'growth' | 'scale'

Response

OK

created_atstring date-time required
idinteger required
membersinteger required
messages_30dinteger required
namestring required
owner_emailstring required
plan'free' | 'starter' | 'growth' | 'scale' required
projectsinteger required
slotsinteger required
slugstring required
trial_ends_atstring date-time nullable required
unlimited_atstring date-time nullable required

When the platform granted unlimited use, null when the plan limits apply

Changes

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