presence: clearUserPreferredPresence

Namespace: microsoft.graph


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Clear the preferred availability and activity status for a user.


The following permission is required to call the API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Presence.ReadWrite
Delegated (personal Microsoft account) Not Supported.
Application Presence.ReadWrite.All

HTTP Request

POST /users/{userId}/presence/clearUserPreferredPresence

Request headers

Name Description
Authorization Bearer {token}. Required.
Content-Type application/json. Required.

Request body

This request only contains an empty object.


If successful, this method returns a 200 OK response code.


The following request clears the user preferred presence for user fa8bf3dc-eca7-46b7-bad1-db199b62afc3.


Content-Type: application/json



HTTP/1.1 200 OK