v2

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

Generate verification code for proof of possession flow.

Generates verification code for proof of possession flow. The verification code will be used to generate a leaf certificate.

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

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.

Response

The body contains the certificate.

idstring

The resource identifier.

namestring

The name of the certificate.

etagstring

The entity tag.

typestring

The resource type.