Deleting an endpoint
Written by
Updated at April 17, 2025
Management console
AWS CLI
AWS SDK for Python
AWS SDK for PHP
API
- In the management console
, go to the folder containing your endpoint. - From the list of services, select Cloud Notification Service.
- Select a push notification channel.
- Navigate to the
Endpoints tab. - Click
next to the endpoint and select Delete. - In the window that opens, click Delete.
-
If you do not have the AWS CLI yet, install and configure it.
-
Run this command:
aws sns delete-endpoint \ --endpoint-arn <endpoint_ARN>
Where
--endpoint-arn
is the endpoint ID (ARN).For more information about the
aws sns delete-endpoint
command, see the AWS documentation .
-
If you do not have the AWS SDK for Python (boto3) yet, install and configure it.
-
To update an endpoint, run the following code:
response = client.delete_endpoint( EndpointArn="<endpoint_ARN>" ) print("Endpoint deleted successfully.")
Where
EndpointArn
is the endpoint ID (ARN).
-
If you do not have the AWS SDK for PHP yet, install and configure it.
-
To delete an endpoint, use the following code:
$response = $client->deleteEndpoint([ 'EndpointArn' => '<endpoint_ARN>', ]); echo "Endpoint deleted successfully.\n";
Where
EndpointArn
is the endpoint ID (ARN).
Use the delete HTTP API method for the Endpoint resource in Yandex Cloud Notification Service.