Authentication

Expire all of the tokens associated with a specific application.

post/api/v1/auth/app/{app_id}/expire-all

Request

  • Base URL
    https://api.eu.svix.com
  • URL
    https://api.eu.svix.com/api/v1/auth/app/{app_id}/expire-all
  • Auth
    HTTP bearer

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

Headers

idempotency-keystring

The request's idempotency key

Request body

expiryinteger nullable

How many seconds until the old key is expired.

sessionIdsstring[]

An optional list of session ids.

If any session ids are specified, only Application tokens created with that session id will be expired.

Example request

{
  "expiry": 60,
  "sessionIds": [
    "user_1FB8"
  ]
}

Response

no content

Changes