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/de0e40cf-8a61-4f0b-a2ec-a46f252c9310

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOSIsImVtYWlsIjoiZW1haWwtMTg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTZ9.1xkYHmL5He_Xqn5fSBBPBPnmYCtOBaUhJnaDs3idqXs
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/staging_security_groups/de0e40cf-8a61-4f0b-a2ec-a46f252c9310" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzOSIsImVtYWlsIjoiZW1haWwtMTg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTZ9.1xkYHmL5He_Xqn5fSBBPBPnmYCtOBaUhJnaDs3idqXs" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: f55a0b8d-d92c-40ca-abf4-0042d138889d
X-Content-Type-Options: nosniff