Skip to content
Sign in Create account

Rotate a custom tier chat seed

POST /api/v1/privacy/tiers/custom/{id}/rotate-chat

Rotates the per-chat seed for the supplied chat identifier.

Authenticate with a portal session token.

Parameters

  • id integer path required

Request body

application/json object

  • chat_id string required
    Length: at most 128 characters

Example

{
  "chat_id": "example-value"
}

Responses

200 Rotation result.

application/json PrivacyChatRotation

  • chat_id string required
    Length: at most 128 characters
  • rotated boolean required
  • scramble_seed_hmac string required

Generated sample

{
  "chat_id": "string",
  "rotated": true,
  "scramble_seed_hmac": "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