Menu
Amazon WorkDocs
API Reference (API Version 2016-05-01)

DeleteNotificationSubscription

Deletes the specified subscription from the specified organization.

Request Syntax

Copy
DELETE /api/v1/organizations/OrganizationId/subscriptions/SubscriptionId HTTP/1.1

URI Request Parameters

The request requires the following URI parameters.

OrganizationId

The ID of the organization.

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [&\w+-.@]+

SubscriptionId

The ID of the subscription.

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [&\w+-.@]+

Request Body

The request does not have a request body.

Response Syntax

Copy
HTTP/1.1 200

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors.

EntityNotExistsException

The resource does not exist.

HTTP Status Code: 404

ProhibitedStateException

The specified document version is not in the INITIALIZED state.

HTTP Status Code: 409

ServiceUnavailableException

One or more of the dependencies is unavailable.

HTTP Status Code: 503

UnauthorizedResourceAccessException

The caller does not have access to perform the action on the resource.

HTTP Status Code: 404

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: