Certificates
Upload the certificate to the IoT hub.
Adds new or replaces existing certificate.
put/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}
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
ETag of the Certificate. Do not specify for creating a brand new certificate. Required to update an existing certificate.
Request body
Response
If certificate already exist and update was successful, the operation returns HTTP status code of 201 (OK).