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/d9259482-9359-45c1-bc29-3cdb7fed12b9

Parameters

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

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/service_keys/d9259482-9359-45c1-bc29-3cdb7fed12b9" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MSIsImVtYWlsIjoiZW1haWwtMjYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTN9.lYVZtG7XHEYokXypKoiYK571Uwpa_C2zjueEVsp2O9A" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 0324e8c2-02a1-4f69-a15a-b8656df972a6
X-Content-Type-Options: nosniff