Dela via


Security Standards - Delete

Ta bort en säkerhetsstandard över ett angivet omfång

DELETE https://management.azure.com/{scope}/providers/Microsoft.Security/securityStandards/{standardId}?api-version=2024-08-01

URI-parametrar

Name I Obligatorisk Typ Description
scope
path True

string

Säkerhetsstandardens omfattning. Giltiga omfång är: hanteringsgrupp (format: "providers/Microsoft.Management/managementGroups/{managementGroup}", prenumeration (format: "subscriptions/{subscriptionId}") eller säkerhetsanslutningsprogram (format: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})"

standardId
path True

string

Säkerhetsstandardnyckeln – unik nyckel för standardtypen

Reguljärt uttrycksmönster: [{]?[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?$

api-version
query True

string

DEN API-version som ska användas för den här åtgärden.

Svar

Name Typ Description
200 OK

Säkerhetsstandarden har tagits bort

204 No Content

Inget innehåll – säkerhetsstandarden finns inte

Other Status Codes

ErrorResponse

Felsvar som beskriver varför åtgärden misslyckades.

Säkerhet

azure_auth

Azure Active Directory OAuth2 Flow

Typ: oauth2
Flow: implicit
Auktoriseringswebbadress: https://login.microsoftonline.com/common/oauth2/authorize

Omfattningar

Name Description
user_impersonation personifiera ditt användarkonto

Exempel

Delete a security standard over management group scope
Delete a security standard over security connector scope
Delete a security standard over subscription scope

Delete a security standard over management group scope

Exempelbegäran

DELETE https://management.azure.com/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Security/securityStandards/ad9a8e26-29d9-4829-bb30-e597a58cdbb8?api-version=2024-08-01

Exempelsvar

Delete a security standard over security connector scope

Exempelbegäran

DELETE https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/providers/Microsoft.Security/securityStandards/ad9a8e26-29d9-4829-bb30-e597a58cdbb8?api-version=2024-08-01

Exempelsvar

Delete a security standard over subscription scope

Exempelbegäran

DELETE https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityStandards/ad9a8e26-29d9-4829-bb30-e597a58cdbb8?api-version=2024-08-01

Exempelsvar

Definitioner

Name Description
ErrorAdditionalInfo

Ytterligare information om resurshanteringsfelet.

ErrorDetail

Felinformationen.

ErrorResponse

Felsvar

ErrorAdditionalInfo

Ytterligare information om resurshanteringsfelet.

Name Typ Description
info

object

Ytterligare information.

type

string

Ytterligare informationstyp.

ErrorDetail

Felinformationen.

Name Typ Description
additionalInfo

ErrorAdditionalInfo[]

Ytterligare information om felet.

code

string

Felkoden.

details

ErrorDetail[]

Felinformationen.

message

string

Felmeddelandet.

target

string

Felmålet.

ErrorResponse

Felsvar

Name Typ Description
error

ErrorDetail

Felobjektet.