Share via


Updates - Delete Update

Belirli bir güncelleştirme sürümünü silin.

DELETE https://{accountEndpoint}/deviceupdate/{instanceId}/v2/updates/providers/{provider}/names/{name}/versions/{version}

URI Parametreleri

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

string

Hesap uç noktası.

instanceId
path True

string

Hesap örneği tanımlayıcısı.

name
path True

string

Adı güncelleştirin.

provider
path True

string

Sağlayıcıyı güncelleştirin.

version
path True

string

Sürümü güncelleştirin.

Yanıtlar

Name Tür Description
202 Accepted

Kabul edilen güncelleştirme silme isteği; durumu izlemek için arka plan işlemi konumu Operation-Location yanıt üst bilgisinde belirtilir.

Headers

  • Location: string
  • Operation-Location: string
429 Too Many Requests

Çok fazla istek var; bir süre içinde kaç işlemin yürütülebileceğine ilişkin bir hız sınırı ve kaç eşzamanlı içeri aktarma ve silme arka plan işlemi yürütülebileceğine ilişkin bir sınır da vardır.

Güvenlik

azure_auth_implicit

Azure Active Directory OAuth2 Örtük Akışı

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

Scopes

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

azure_auth_code

Azure Active Directory OAuth2 AccessCode Akışı

Type: oauth2
Flow: accessCode
Authorization URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scopes

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

azure_auth_application

Azure Active Directory OAuth2 Uygulama Akışı

Type: oauth2
Flow: application
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scopes

Name Description
.default istemci kimlik bilgisi kapsamı

azure_auth_password

Azure Active Directory OAuth2 Parola Akışı

Type: oauth2
Flow: password
Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token

Scopes

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

Örnekler

Updates_DeleteUpdate

Sample Request

DELETE https://contoso.api.adu.microsoft.com/deviceupdate/blue/v2/updates/providers/microsoft/names/adu/versions/1.0.0.0

Sample Response

Location: /deviceupdate/instanceId/v2/operations/e4491c54-916f-443d-9094-bcca546ace2f
Operation-Location: /deviceupdate/instanceId/v2/operations/e4491c54-916f-443d-9094-bcca546ace2f