Security Group Staging Defaults API

Removing a Security Group as a default for staging

DELETE /v2/config/staging_security_groups/:guid

Request

Route

DELETE /v2/config/staging_security_groups/e32f664f-3c27-4887-b042-1e63f8b7f22c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOSIsImVtYWlsIjoiZW1haWwtNzRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2NjAwODg4N30.fPvpT30t4UqjYIr_j2ro2C7IZpgGFcOJKb87_sjURPc
Host: example.org
Content-Type: application/json
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/staging_security_groups/e32f664f-3c27-4887-b042-1e63f8b7f22c" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOSIsImVtYWlsIjoiZW1haWwtNzRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2NjAwODg4N30.fPvpT30t4UqjYIr_j2ro2C7IZpgGFcOJKb87_sjURPc" \
	-H "Host: example.org" \
	-H "Content-Type: application/json" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 954f8376-34ec-4c98-a0f3-979b19257acf
X-Content-Type-Options: nosniff