Remove Space from the Security Group
DELETE /v2/security_groups/:guid/spaces/:space_guid
Request
Route
DELETE /v2/security_groups/94ce525c-5a97-4955-b2b3-2378cf91c947/spaces/7e64a208-d836-4243-be3b-60a1fd42728c
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/94ce525c-5a97-4955-b2b3-2378cf91c947/spaces/7e64a208-d836-4243-be3b-60a1fd42728c" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NCIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2NDF9.aKyIaJFUkb6G2-w00wYLG9lo4CBZA6fMkGt09PNC3SY" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers