Certificates - Delete

X509 sertifikayı silin.
Mevcut bir X509 sertifikayı siler veya yoksa hiçbir şey yapmaz.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates/{certificateName}?api-version=2023-06-30

URI Parametreleri

Name İçinde Gerekli Tür Description
certificateName
path True

string

Sertifikanın adı

Regex pattern: ^[A-Za-z0-9-._]{1,64}$

resourceGroupName
path True

string

IoT hub'ını içeren kaynak grubunun adı.

resourceName
path True

string

IoT hub'ının adı.

subscriptionId
path True

string

Abonelik tanımlayıcısı.

api-version
query True

string

API'nin sürümü.

İstek Başlığı

Name Gerekli Tür Description
If-Match True

string

Sertifikanın ETag'i.

Yanıtlar

Name Tür Description
200 OK

Sertifika silindi.

204 No Content

Sertifika yok.

Other Status Codes

ErrorDetails

DefaultErrorResponse

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

Certificates_Delete

Sample Request

DELETE https://management.azure.com/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/resourceGroups/myResourceGroup/providers/Microsoft.Devices/IotHubs/myhub/certificates/cert?api-version=2023-06-30

Sample Response

Tanımlar

ErrorDetails

Hata ayrıntıları.

Name Tür Description
code

string

Hata kodu.

details

string

Hata ayrıntıları.

httpStatusCode

string

HTTP durum kodu.

message

string

Hata iletisi.