Identity serverAPI reference
Multi-session
GET
bearerAuthheader
AuthorizationBearer <token>Bearer token authentication
Bad Request. Usually due to missing parameters, or invalid parameters.
application/json- response
message*stringcurl -X GET 'https://dev.auth.graphxserver.io/api/auth/multi-session/list-device-sessions'{ "message": "string"}POST
bearerAuthheader
AuthorizationBearer <token>Bearer token authentication
application/json- body
sessionToken*stringThe session token to set as active
Success
application/json- response
session?curl -X POST 'https://dev.auth.graphxserver.io/api/auth/multi-session/set-active' \ -H 'Content-Type: application/json' \ -d '{ "sessionToken": "string"}'{ "session": { "id": "string", "expiresAt": "2019-08-24T14:15:22Z", "token": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "ipAddress": "string", "userAgent": "string", "userId": "string", "impersonatedBy": "string", "activeOrganizationId": "string", "activeTeamId": "string" }}POST
bearerAuthheader
AuthorizationBearer <token>Bearer token authentication
application/json- body
sessionToken*stringThe session token to revoke
Success
application/json- response
status?booleancurl -X POST 'https://dev.auth.graphxserver.io/api/auth/multi-session/revoke' \ -H 'Content-Type: application/json' \ -d '{ "sessionToken": "string"}'{ "status": true}