Delete a Particular Service Auth Token (deprecated)
DELETE /v2/service_auth_tokens/:guid?
Request
Route
DELETE /v2/service_auth_tokens/4e06826f-8d2d-406c-b633-a9f5fd860e73?
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/4e06826f-8d2d-406c-b633-a9f5fd860e73?" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5OSIsImVtYWlsIjoiZW1haWwtMTk2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NTB9.Qg2VbMl3Tl6-AdVo8xJ9RZGxQHfylGs-uLHCNIw3TAI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers