Skip to content

Sign visitors out ​

Signing visitors out does not change the password and does not create a deployment.

On Security, choose the distribution and choose Sign everyone out. Cookies issued before that moment stop working once the edge is using the new key. Cookies that were issued by an older password gate, before this key existed, stay valid until they expire.

To sign out one visitor, or to remove an access rule at the same time, ask an agent, use the CLI, or call the API.

text
Sign everyone out of acme-marketing.
bash
edge access sessions revoke acme-marketing --all
bash
curl -s -X POST \
  https://api.edge.deca-dev.com/v1/distributions/d3f7a1c4-90b2-4e6a-8f15-6c2b7e0a9d38/access/sessions/revoke \
  -H "Authorization: Bearer $EDGE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "all": true }'

The agent runs edge_access_session_revoke. A single visitor is { "sub": "…" } instead of { "all": true }. The event Edge sends does not include an email address.

Next: Access control.