List account sessions
List the authenticated user’s sign-in sessions with status, last activity, browser, device and location. Supports offset and limit, up to 100 sessions per call; returns totalCount. To revoke a session, pass its ID to request_account_action with kind revoke_session.
/v1/agencies/{agencyId}/account/sessionsList the authenticated user’s sign-in sessions with status, last activity, browser, device and location. Supports offset and limit, up to 100 sessions per call; returns totalCount. To revoke a session, pass its ID to request_account_action with kind revoke_session.
Authorization
bearerAuth In: header
Path Parameters
1 <= lengthQuery Parameters
0 <= value <= 900719925474099101 <= value <= 10020Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/agencies/string/account/sessions" \ -H "Authorization: Bearer YOUR_API_KEY"{ "data": { "totalCount": 0, "sessions": [ { "id": "string", "status": "string", "lastActiveAt": "string", "browserName": null, "deviceType": null, "city": null, "country": null } ] }, "meta": { "requestId": "string" }}Update account profile PATCH
Replace the authenticated user’s firstName and lastName, then return the updated profile. Supply both fields; at least one must be nonempty. Email, password and linked-provider changes use request_account_action.
Remove account profile image DELETE
Remove the authenticated user’s profile image and return the updated account profile.