Operator

Extend, end, reset, exempt or unexempt one team's Free period (two-factor session + reason; 409 reason unlimited_org for the platform owner's teams); audited with {before, after}. Extend, reset and exempt lift a pause at once

post/operator/organizations/{organizationId}/trial

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/operator/organizations/{organizationId}/trial
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

organizationIdstring uuid required

Request body

action'extend' | 'end' | 'reset' | 'exempt' | 'unexempt' required
daysinteger

extend: days added to the later of the end and now

endsAtstring date-time

extend: the new end (instead of days)

reasonstring required

required: shown in the audit log verbatim

requestIdstring

idempotency key: a retried request with the same id changes nothing and writes no second audit entry

Response

Done

status'ok' required
replayboolean required
resumedboolean required

a pause was lifted: the suspension worker restarts what was running

Changes

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