Delen via


Namespaces - Delete Authorization Rule

Hiermee verwijdert u een autorisatieregel voor een naamruimte.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}?api-version=2024-01-01

URI-parameters

Name In Vereist Type Description
authorizationRuleName
path True

string

minLength: 1

De naam van de autorisatieregel.

namespaceName
path True

string

minLength: 6
maxLength: 50

De naamruimtenaam

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Naam van de resourcegroep binnen het Azure-abonnement.

subscriptionId
path True

string

Abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.

api-version
query True

string

Client-API-versie.

Antwoorden

Name Type Description
200 OK

De aanvraag voor het verwijderen van de autorisatieregel voor naamruimten is voltooid.

204 No Content

Geen inhoud. De aanvraag is geaccepteerd, maar de autorisatieregel voor de naamruimte is niet gevonden.

Other Status Codes

ErrorResponse

Relay-foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

RelayNameSpaceAuthorizationRuleDelete

Voorbeeldaanvraag

DELETE https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Relay/namespaces/example-RelayNamespace-01/authorizationRules/example-RelayAuthRules-01?api-version=2024-01-01

Voorbeeldrespons

Definities

Name Description
ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het extra informatietype.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.