Skip to content
BoundaryKit

Expire a session

Expire a session — confirm that a fresh request using the old session is denied.

Confirm that a fresh request using the old session is denied. Use a staging organization with the same grants as production. Keep the previous manifest digest available until the first production receipt has been inspected.

Terminal window
curl --fail-with-body "https://api.boundarykit.com/v2/alerts" -H "X-API-Key: $BKIT_KEY" -H "X-Organization-Id: $BKIT_ORG"

Use the following checkpoint while the staging change is isolated.

{
"case": "expire-a-session",
"organization": "org_stage",
"revision": "rev_31",
"checkpoint": "Confirm that a fresh request using the old session is denied."
}

Inspect the receipt for Expire a session. Compare its organization and revision with the values in the fixture before interpreting the result. Restore the preceding manifest if a previously denied capability becomes available.