Update applePushNotificationCertificate
Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.
Update the properties of a applePushNotificationCertificate object.
Prerequisites
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Permission type | Permissions (from most to least privileged) |
---|---|
Delegated (work or school account) | DeviceManagementManagedDevices.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Not supported. |
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 for the applePushNotificationCertificate object.
The following table shows the properties that are required when you create the applePushNotificationCertificate.
Property | Type | Description |
---|---|---|
id | String | Unique Identifier for the certificate |
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. |
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/v1.0/deviceManagement/applePushNotificationCertificate
Content-type: application/json
Content-length: 271
{
"@odata.type": "#microsoft.graph.applePushNotificationCertificate",
"appleIdentifier": "Apple Identifier value",
"topicIdentifier": "Topic Identifier value",
"expirationDateTime": "2016-12-31T23:57:57.2481234-08:00",
"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: 384
{
"@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",
"certificate": "Certificate value"
}
Feedback
Loading feedback...