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/8773614c-7ffa-4480-bd2a-fce3a1e1256b

Parameters

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

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/service_keys/8773614c-7ffa-4480-bd2a-fce3a1e1256b" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MyIsImVtYWlsIjoiZW1haWwtMTc4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MDN9.w9It9LHYmo6PlscsPfB8OktwqW8CkgmQF4gYu_NJOfE" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: de15ad3e-a1f6-41ef-bd43-e7e0e0d88c72
X-Content-Type-Options: nosniff