{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin Users.presence API", "version": "1.0.0" }, "items": [ { "info": { "name": "Users.presence", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph Get presence", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/users/:user-id/presence", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get a user's presence information." }, { "info": { "name": "Microsoft Graph Update the navigation property presence in users", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/users/:user-id/presence", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property presence in users" }, { "info": { "name": "Microsoft Graph Delete navigation property presence for users", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/users/:user-id/presence", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" } ] }, "docs": "Microsoft Graph Delete navigation property presence for users" }, { "info": { "name": "Microsoft Graph Invoke action clearPresence", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/users/:user-id/presence/clearPresence", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence." }, { "info": { "name": "Microsoft Graph Invoke action clearUserPreferredPresence", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/users/:user-id/presence/clearUserPreferredPresence", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" } ] }, "docs": "Clear the preferred availability and activity status for a user." }, { "info": { "name": "Microsoft Graph Invoke action setPresence", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/users/:user-id/presence/setPresence", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set the state of a user's presence session as an application. For more information about presence sessions, states permutations, and timeouts, see Manage presence state using the Microsoft Graph API." }, { "info": { "name": "Microsoft Graph Invoke action setStatusMessage", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/users/:user-id/presence/setStatusMessage", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set a presence status message for a user. An optional expiration date and time can be supplied." }, { "info": { "name": "Microsoft Graph Invoke action setUserPreferredPresence", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/users/:user-id/presence/setUserPreferredPresence", "params": [ { "name": "user-id", "value": "", "type": "path", "description": "The unique identifier of user" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expir" } ] } ], "bundled": true }