Home
Version 3
Service Keys API

Service Keys API

Delete a Particular Service Key

DELETE /v2/service_keys/:guid

Request

Route

DELETE /v2/service_keys/30dbd974-15f8-4f6f-89a9-74938e82cdfb

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Key

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MiIsImVtYWlsIjoiZW1haWwtMjA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTR9.ybdxgFyutjA_7CtDwgwKDpxQwF45qER59uYByZpSLFI
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_keys/30dbd974-15f8-4f6f-89a9-74938e82cdfb" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MiIsImVtYWlsIjoiZW1haWwtMjA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzI3NzQ5OTR9.ybdxgFyutjA_7CtDwgwKDpxQwF45qER59uYByZpSLFI" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: cc7f57f2-0876-492c-bc5a-3d152fb4d9b1
X-Content-Type-Options: nosniff