Home
Version 3
Security Groups API

Security Groups API

Delete a Particular Security Group

DELETE /v2/security_groups/:guid

Request

Route

DELETE /v2/security_groups/596f6670-c139-4529-9d6a-d8f790929c6e

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'.

Body

Name Description Default Valid Values Example Values

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/security_groups/596f6670-c139-4529-9d6a-d8f790929c6e" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0IiwiZW1haWwiOiJlbWFpbC0xNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjU3fQ.euyPlA2yU8VeUyZqJmOOhWFUy0I9Jtv60SsHnVsoawk" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: d06458a0-156d-40a1-ac02-2d0f48b1e176
X-Content-Type-Options: nosniff