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/4244e343-8ccd-4b5f-b844-d1d31fd5f085

Body

Name Description Default Valid Values Example Values

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/config/staging_security_groups/4244e343-8ccd-4b5f-b844-d1d31fd5f085" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NCIsImVtYWlsIjoiZW1haWwtMjc2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Nzl9.jaPbjXQfOiS2hu9C8IHe7y6L7bWqsnAesDNU9EQsHik" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 4ca7c97b-0a77-4f32-91e4-ffe452ae59b9
X-Content-Type-Options: nosniff