# End the current view-as session

`POST /v1/view-as/end`

Ends the platform view-as session carried by the bearer token (the banner's End
session). Allowed on read-only sessions. Staff sessions end in the back office.

Requires: A view-as bearer token.

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/view-as/end" \
  -H "Authorization: Bearer $PAYEZY_KEY"
```
