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/87a0e8f9-9943-4acf-9b0a-a3f446a0491b?

Parameters

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OCIsImVtYWlsIjoiZW1haWwtMTYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2MzN9.vlBQ0e6YLiA3htcoX5trq2Z13LTPVc9-jH6GJopaGME
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_keys/87a0e8f9-9943-4acf-9b0a-a3f446a0491b?" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OCIsImVtYWlsIjoiZW1haWwtMTYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2MzN9.vlBQ0e6YLiA3htcoX5trq2Z13LTPVc9-jH6GJopaGME" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 10eac2ef-242f-4d45-86c0-5453b7ed59be
X-Content-Type-Options: nosniff