CMR Environments Table
Base API URL (through ECHO)
Associated URS Environment
Acceptance Test (UAT)
Systems Integration Test (SIT)
The <provider> element in blue in the example above is only used if you are planning on working as or on behalf of a data provider (ingesting), client developers (searching) can leave it out. If you have special characters in your password, you will probably need to escape them using a backslash.
Another way using curl if you don't want to escape any characters, you can use the "file input" option to create a file that looks like the following:
Then, the full curl command looks a little bit different:
Again, if using a programming language, just place the curl example parts into the correct http message header or body locations.
A sample response from the curl call is:
To delete a token execute the following curl command for the environment you have chosen.
Depending on the environment you have chosen, 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 imbedding 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.