Home
Version 3
Security Groups API

Security Groups API

Delete a Particular Security Group

DELETE /v2/security_groups/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Security Group
async Will run the delete request in a background job. Recommended: 'true'.

Request

Headers

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

Route

DELETE /v2/security_groups/6c2b3e58-20d9-4c14-9810-bebd95a7090a

cURL

curl "https://api.[your-domain.com]/v2/security_groups/6c2b3e58-20d9-4c14-9810-bebd95a7090a" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMiIsImVtYWlsIjoiZW1haWwtNzRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDQ3MTY4OX0.1GVuQB2B_esvXFahv0gWrw2D1nNoexTNohCyaZklpwo" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 694f25c5-df55-4f85-a9b8-eb8ca1a83012
X-Content-Type-Options: nosniff

Status

204 No Content