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/b66b84a2-6ff3-434c-858e-10bef0ac6506?

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxNSIsImVtYWlsIjoiZW1haWwtMjE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDB9.e4z8Fb5z3TxXHeDc8tGcyI0bY7tytKY2k1fIQ5oqf-M
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_keys/b66b84a2-6ff3-434c-858e-10bef0ac6506?" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxNSIsImVtYWlsIjoiZW1haWwtMjE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDB9.e4z8Fb5z3TxXHeDc8tGcyI0bY7tytKY2k1fIQ5oqf-M" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: b08ad99a-7ef0-48da-9ec8-dfab6515103b
X-Content-Type-Options: nosniff