Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Notification Service
    • Overview
    • Getting started with mobile push notifications
    • Getting started with in-browser push notifications
    • Getting started with SMS
    • All guides
      • Creating a push notification channel
      • Updating a push notification channel
      • Deleting a push notification channel
      • Creating an endpoint
      • Updating an endpoint
      • Deleting an endpoint
      • Sending a push notification
    • Configuring logging
    • Overview
    • Mobile push notifications
    • In-browser push notifications
    • SMS
    • Quotas and limits
    • All tools
    • AWS CLI
    • AWS SDK for C++
    • AWS SDK for Go
    • AWS SDK for Java
    • AWS SDK for JavaScript
    • AWS SDK for Kotlin
    • AWS SDK for .NET
    • AWS SDK for PHP
    • AWS SDK for Python (boto3)
  • Pricing policy
  • Monitoring metrics
  • Logs Cloud Logging
  • Release notes
  1. Step-by-step operations
  2. Mobile push notifications
  3. Deleting an endpoint

Deleting an endpoint

Written by
Yandex Cloud
Updated at April 17, 2025
Management console
AWS CLI
AWS SDK for Python
AWS SDK for PHP
API
  1. In the management console, go to the folder containing your endpoint.
  2. From the list of services, select Cloud Notification Service.
  3. Select a push notification channel.
  4. Navigate to the Endpoints tab.
  5. Click next to the endpoint and select Delete.
  6. In the window that opens, click Delete.
  1. If you do not have the AWS CLI yet, install and configure it.

  2. 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.

  1. If you do not have the AWS SDK for Python (boto3) yet, install and configure it.

  2. 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).

  1. If you do not have the AWS SDK for PHP yet, install and configure it.

  2. 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.

Was the article helpful?

Previous
Updating an endpoint
Next
Sending a push notification
© 2025 Direct Cursus Technology L.L.C.