Delete a Particular Service Auth Token (deprecated)
DELETE /v2/service_auth_tokens/:guid?
Request
Route
DELETE /v2/service_auth_tokens/8eb9cbfd-72ad-4451-bd3b-fadf0a791d3e?
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Service Auth Token
|
|
|
async
|
Will run the delete request in a background job. Recommended: 'true'.
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the service auth token.
|
|
|
|
label
|
Human readable name for the auth token
|
|
|
|
provider
|
Human readable name of service provider
|
|
|
|
token
|
The secret auth token used for authenticating
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/service_auth_tokens/8eb9cbfd-72ad-4451-bd3b-fadf0a791d3e?" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0ODAzODk0OX0.GxY5HsaH38SedAkuvt4ypXGLWE58aQNwhNNXQpsFxoo" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers