You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

EDL Token

https://urs.earthdata.nasa.gov/documentation/for_users/user_token

ECHO Token

To delete a token, execute the following curl command for your selected environment.

Substitute your token where <token> is written in the command below.  An example token is: 08D386C0-D020-A2BD-A65E-F54593A56FDB

Example

curl -X DELETE --header "Content-Type: application/xml" https://cmr.earthdata.nasa.gov/legacy-services/rest/tokens/<token>


Note:

  • Depending on the environment you selected, the Base API URL may be different from the example.  If so, just replace the purple text with the correct Base API URL that you need.
  • If you are embedding the token REST messages into a programming language, create an HTTP message and place the same components from the curl example into either the message header or body.

The return code should be a 204, otherwise an error has occurred.


  • No labels