Remove Space from the Security Group
DELETE /v2/security_groups/:guid/spaces/:space_guid
Request
Route
DELETE /v2/security_groups/5697b8ff-c2e9-48e3-a3ae-8b57805fd65c/spaces/5df8919c-34f0-4a94-9c11-475050146770
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Security Group
|
|
|
space_guid
|
The guid of the space
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/security_groups/5697b8ff-c2e9-48e3-a3ae-8b57805fd65c/spaces/5df8919c-34f0-4a94-9c11-475050146770" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzOCIsImVtYWlsIjoiZW1haWwtMzA5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTV9.BslvApDeUQRqKhcK6Wyqn--4f9zMIiho_efyftRwA_w" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers