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.eyJ1c2VyX2lkIjoidWFhLWlkLTMiLCJlbWFpbCI6ImVtYWlsLTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDEzNzM2Mn0.6CuQrLVRzUF6MJnRGIWk8i9fWU-TolgL9wkw4Uv6bDs
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/security_groups/138030d6-5b21-4a72-a3ab-5d9fa6d96224

cURL

curl "https://api.[your-domain.com]/v2/security_groups/138030d6-5b21-4a72-a3ab-5d9fa6d96224" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMiLCJlbWFpbCI6ImVtYWlsLTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDEzNzM2Mn0.6CuQrLVRzUF6MJnRGIWk8i9fWU-TolgL9wkw4Uv6bDs" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

X-VCAP-Request-ID: 612dab7a-b921-49d6-8732-ec8ae8b32949
X-Content-Type-Options: nosniff

Status

204 No Content