v2

latestSwagger 2.0raw.githubusercontent.com2021-04-273265113.0 KB
Certificates

Verify certificate's private key possession.

Verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}/verify

Path parameters

subscriptionIdstring required

The subscription identifier.

resourceGroupNamestring required

The name of the resource group that contains the IoT hub.

resourceNamestring required

The name of the IoT hub.

certificateNamestring required

The name of the certificate

Query parameters

api-versionstring required

The version of the API.

Headers

If-Matchstring required

ETag of the Certificate.

Request body

certificatestring

base-64 representation of X509 certificate .cer file or just .pem file content.

Response

The body contains the certificate.

idstring

The resource identifier.

namestring

The name of the certificate.

etagstring

The entity tag.

typestring

The resource type.