Share via


Namespaces - Delete

Hiermee verwijdert u een bestaande naamruimte. Met deze bewerking worden ook alle gekoppelde resources onder de naamruimte verwijderd.

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

URI-parameters

Name In Vereist Type Description
namespaceName
path True

string

De naam van de naamruimte

resourceGroupName
path True

string

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 service-aanroep.

api-version
query True

string

Client-API-versie.

Antwoorden

Name Type Description
200 OK

De aanvraag voor het verwijderen van de naamruimte is voltooid.

202 Accepted

De aanvraag voor het verwijderen van de naamruimte is geaccepteerd voor verwerking en de bewerking wordt asynchroon voltooid.

204 No Content

Aanvraag voor het verwijderen van de naamruimte is geaccepteerd, maar 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
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

RelayNameSpaceDelete

Sample Request

DELETE https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SouthCentralUS/providers/Microsoft.Relay/namespaces/example-RelayNamespace-5849?api-version=2021-11-01

Sample Response

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 type aanvullende informatie.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout 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.