Microsoft.Devices (preview:2025-02-01)

2025/07/23 • 3 updated methods

DpsCertificate_Delete (updated)
Description Deletes the specified certificate associated with the Provisioning Service
Reference Link ¶

⚶ Changes

{
  "#id": "DpsCertificate_Delete",
  "$parameters": [
    {
      "#name": "certificate.lastUpdated",
      "Description": {
        "new": "Certificate last updated time.",
        "old": "Time the certificate is last updated."
      }
    }
  ]
}

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
provisioningServiceName: string ,
certificateName: string ,
If-Match: string ,
certificate.name: string ,
certificate.rawBytes: string ,
certificate.isVerified: boolean ,
certificate.purpose: string ,
certificate.created: string ,
certificate.lastUpdated: string ,
certificate.hasPrivateKey: boolean ,
certificate.nonce: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
code: integer ,
httpStatusCode: string ,
message: string ,
details: string ,
}
DpsCertificate_GenerateVerificationCode (updated)
Description Generate verification code for Proof of Possession.
Reference Link ¶

⚶ Changes

{
  "#id": "DpsCertificate_GenerateVerificationCode",
  "$parameters": [
    {
      "#name": "certificate.created",
      "Description": {
        "new": "Time the certificate is created.",
        "old": "Certificate creation time."
      }
    }
  ]
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/generateVerificationCode
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
provisioningServiceName: string ,
certificateName: string ,
If-Match: string ,
certificate.name: string ,
certificate.rawBytes: string ,
certificate.isVerified: boolean ,
certificate.purpose: string ,
certificate.created: string ,
certificate.lastUpdated: string ,
certificate.hasPrivateKey: boolean ,
certificate.nonce: string ,
}

⚐ Response (200)

{
name: string ,
etag: string ,
id: string ,
type: string ,
properties:
{
verificationCode: string ,
subject: string ,
expiry: string ,
thumbprint: string ,
isVerified: boolean ,
certificate: string ,
created: string ,
updated: string ,
}
,
}

⚐ Response (default)

{
code: integer ,
httpStatusCode: string ,
message: string ,
details: string ,
}
DpsCertificate_VerifyCertificate (updated)
Description Verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate.
Reference Link ¶

⚶ Changes

{
  "#id": "DpsCertificate_VerifyCertificate",
  "$parameters": [
    {
      "#name": "certificate.created",
      "Description": {
        "new": "Time the certificate is created.",
        "old": "Certificate creation time."
      }
    }
  ]
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}/certificates/{certificateName}/verify
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
provisioningServiceName: string ,
certificateName: string ,
If-Match: string ,
certificate.name: string ,
certificate.rawBytes: string ,
certificate.isVerified: boolean ,
certificate.purpose: string ,
certificate.created: string ,
certificate.lastUpdated: string ,
certificate.hasPrivateKey: boolean ,
certificate.nonce: string ,
request:
{
certificate: string ,
}
,
}

⚐ Response (200)

{
properties:
{
subject: string ,
expiry: string ,
thumbprint: string ,
isVerified: boolean ,
certificate: string ,
created: string ,
updated: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
code: integer ,
httpStatusCode: string ,
message: string ,
details: string ,
}