Invitations - Delete

Delete Invitation in a share.
Delete an invitation in a share

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/invitations/{invitationName}?api-version=2021-08-01

URI Parameters

Name In Required Type Description
accountName
path True

string

The name of the share account.

invitationName
path True

string

The name of the invitation.

resourceGroupName
path True

string

The resource group name.

shareName
path True

string

The name of the share.

subscriptionId
path True

string

The subscription identifier

api-version
query True

string

The api version to use.

Responses

Name Type Description
200 OK

Success

204 No Content

Success

Other Status Codes

DataShareError

An error response received from the Microsoft.DataShare resource provider.

Security

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 impersonate your user account

Examples

Invitations_Delete

Sample Request

DELETE https://management.azure.com/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1?api-version=2021-08-01

Sample Response

Date: Wed, 13 Sep 2017 18:04:32 GMT
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-tenant-reads: 14999
x-ms-correlation-request-id: 25c78f97-0b0a-4fe9-ad39-883a482265cd
Date: Wed, 13 Sep 2017 18:04:32 GMT
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-tenant-reads: 14999
x-ms-correlation-request-id: 25c78f97-0b0a-4fe9-ad39-883a482265cd

Definitions

Name Description
DataShareError

The data share error model.

DataShareErrorInfo

The data share error body model.

DataShareError

The data share error model.

Name Type Description
error

DataShareErrorInfo

The data share error body

DataShareErrorInfo

The data share error body model.

Name Type Description
code

string

Code of the error

details

DataShareErrorInfo[]

Nested details of the error model

message

string

Message of the error

target

string

Target of the error