Update applePushNotificationCertificate

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

Update the properties of a applePushNotificationCertificate object.

Prerequisites

One of the following permission scopes is required to execute this API:

DeviceManagementServiceConfig.ReadWrite.All

HTTP Request

PATCH /deviceManagement/applePushNotificationCertificate/

Request headers

Header Value
Authorization Bearer <token> Required.
Accept application/json

Request body

In the request body, supply a JSON representation of a applePushNotificationCertificate object. The following table shows the properties that are required when you create a applePushNotificationCertificate.

Property Type Description
id String Unique Identifier for the device
appleIdentifier String Apple Id of the account used to create the MDM push certificate.
topicIdentifier String Topic Id.
lastModifiedDateTime DateTimeOffset Last modified date and time for Apple push notification certificate.
expirationDateTime DateTimeOffset The expiration date and time for Apple push notification certificate.
certificateUploadStatus String The certificate upload status.
certificateUploadFailureReason String The reason the certificate upload failed.
certificate String Not yet documented

Response

If successful, this method returns a 200 OK response code and an updated applePushNotificationCertificate object in the response body.

Example

Request

Here is an example of the request.

PATCH https://graph.microsoft.com/beta/deviceManagement/applePushNotificationCertificate/
Content-type: application/json
Content-length: 409

{
  "appleIdentifier": "Apple Identifier value",
  "topicIdentifier": "Topic Identifier value",
  "lastModifiedDateTime": "2017-01-01T00:00:35.1329464-08:00",
  "expirationDateTime": "2016-12-31T23:57:57.2481234-08:00",
  "certificateUploadStatus": "Certificate Upload Status value",
  "certificateUploadFailureReason": "Certificate Upload Failure Reason value",
  "certificate": "Certificate value"
}

Response

Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 529

{
  "@odata.type": "#microsoft.graph.applePushNotificationCertificate",
  "id": "c4c8f047-f047-c4c8-47f0-c8c447f0c8c4",
  "appleIdentifier": "Apple Identifier value",
  "topicIdentifier": "Topic Identifier value",
  "lastModifiedDateTime": "2017-01-01T00:00:35.1329464-08:00",
  "expirationDateTime": "2016-12-31T23:57:57.2481234-08:00",
  "certificateUploadStatus": "Certificate Upload Status value",
  "certificateUploadFailureReason": "Certificate Upload Failure Reason value",
  "certificate": "Certificate value"
}