Delete a Particular Service Auth Token (deprecated)
DELETE /v2/service_auth_tokens/:guid
Fields
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
|
|
|
|
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'.
|
|
|
Request
Headers
Route
DELETE /v2/service_auth_tokens/66378152-05f0-411c-8c95-ac9649561eeb
cURL
curl "https://api.[your-domain.com]/v2/service_auth_tokens/66378152-05f0-411c-8c95-ac9649561eeb" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NCIsImVtYWlsIjoiZW1haWwtMjU2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDh9.mZ3lw_OoWBfu7uxzCy46gLafBgkKLaAEpIJmcHdeU-o" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
204 No Content