Home
Version 3
Security Group Staging Defaults API

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/4d0fe149-6c3f-4607-bb8e-a38189f7f6c1

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMSIsImVtYWlsIjoiZW1haWwtMTM5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzV9.8wV26JYcurEHkxOcf2uuIF6r6ovKTgfPGX5XyT-zo98
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/staging_security_groups/4d0fe149-6c3f-4607-bb8e-a38189f7f6c1" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMSIsImVtYWlsIjoiZW1haWwtMTM5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2MzV9.8wV26JYcurEHkxOcf2uuIF6r6ovKTgfPGX5XyT-zo98" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 4248b999-119b-45ea-ae89-12f191d8ec64
X-Content-Type-Options: nosniff