Sign the person's session out of your application
Ends your application's tokens and authorization codes on that one session. The person stays signed in on the device, their consent stands, and every other application keeps its tokens. session_not_found for a session that is not one of the list's.
Authorization
oauth2 An OAuth2 access token issued through the authorization flow. Acts on a user's behalf, and reads only what that user's granted scopes disclose. A token whose user has since been deactivated or soft-deleted is rejected.
In: header
Path Parameters
^[1-9][0-9]{0,18}$Response Body
application/json
application/json
application/json
application/json
application/json
Error codes
Every error response carries one of these in its code field. Branch on the code, never on the detail text.
| Status | code |
|---|---|
| 401 | not_authenticated, authentication_failed |
| 403 | permission_denied |
| 404 | not_found, profile_section_hidden, session_not_found |
| 429 | rate_limited |
Before you run the sample
- Replace
ACCESS_TOKENwith your user's access token. - Set
session_id(shown asSESSION_ID).
curl -X POST "https://example.com/api/v1/userinfo/sessions/SESSION_ID/sign-out/"Read one of the person's sessions GET
One session from the list, with its browser and operating system families, when it first signed in, its region and country, and your application on it. `session_not_found` for a session that is not one of the list's.
List the people who authorized your application and no longer do GET
Everyone who once authorized your application and is not authorized now, most recently left first, with `lifetime_count` (everyone who ever authorized it, counted once per person) and `former_count`. Each person appears with their id, their username in your organization and when and how they left; never a profile field, because the consent that disclosed those has ended. Needs `users:read` and a plan that includes former users; otherwise `403` with `former_users_not_entitled`.