Skip to content
Sign in Create account

Preview a custom tier change

POST /api/v1/privacy/tiers/custom/{id}/preview-change

Returns a summary of changes for the requested target tier and source.

Authenticate with a portal session token.

Parameters

  • id integer path required

Request body

application/json object

  • source string required
    One of: "preset", "custom"
  • to string required
    Length: at most 80 characters

Example

{
  "source": "preset",
  "to": "example-value"
}

Responses

200 Tier-change summary.

application/json PrivacyPreviewChange

  • disclosure_required boolean
  • from_tier string required
  • requires_desktop boolean
  • shared_note string
  • to_tier string required
  • what_changes array of string required
  • what_stays array of string required

Generated sample

{
  "disclosure_required": true,
  "from_tier": "string",
  "requires_desktop": true,
  "shared_note": "string",
  "to_tier": "string",
  "what_changes": [
    "string"
  ],
  "what_stays": [
    "string"
  ]
}
401 Authentication is required.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
403 The authenticated principal lacks the required permission.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
422 The request failed validation.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
429 The request rate limit was exceeded.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string

text/html string