To delete saved searches for a specific user, the Data API can be use via Postman.
- In Postman, set your HTTP request to GET.
- In the URL field insert: https://api.planet.com/data/v1/searches?search_type=saved
- Switch to the Authorization tab and select
- Type: Basic Auth
- Username: User API_KEY
- Note: Leave the Password field empty
-
Click Send button. The search_type=saved parameter will return all saved search IDs.
- To delete a specific saved search, set your new HTTP request to DELETE.
- In the URL field insert: https://api.planet.com/data/v1/searches/{search_id}
- Switch to the Authorization tab and select
- Type: Basic Auth
- Username: User API_KEY
- Note: Leave the Password field empty
8. Click Send button to delete the specific saved search ID.
You can run steps 1, 2, 3 and 4 to check if the selected saved search was deleted.
- You can find the Data API specification at Full API Reference.
Comments
Article is closed for comments.