Remove Security Group from the Space
DELETE /v2/spaces/:guid/security_groups/:security_group_guid
Request
Route
DELETE /v2/spaces/f56d9c32-199e-4360-aebb-cfececd62b49/security_groups/62a87cb4-afd3-4ea9-aa27-1bb711afb29d
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
security_group_guid
|
The guid of the security group
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/f56d9c32-199e-4360-aebb-cfececd62b49/security_groups/62a87cb4-afd3-4ea9-aa27-1bb711afb29d" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMCIsImVtYWlsIjoiZW1haWwtMTQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NTd9.5tFpR9-V9Xt2DI9WLhDoS5CdeuvCdpUi5wgc5p-zR1c" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers