Remove Space from the Security Group
DELETE /v2/security_groups/:guid/spaces/:space_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Security Group
|
|
|
space_guid
|
The guid of the Space
|
|
|
Request
Headers
Route
DELETE /v2/security_groups/0b01769e-6e56-486e-8368-8f682cb707cc/spaces/d76c290e-4f28-423a-97e3-5145677398b7
cURL
curl "https://api.[your-domain.com]/v2/security_groups/0b01769e-6e56-486e-8368-8f682cb707cc/spaces/d76c290e-4f28-423a-97e3-5145677398b7" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNiIsImVtYWlsIjoiZW1haWwtMjQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTN9.7g-EIi6vr1uhG4JmETOQYqNwVE3p9SBqkXPdEVQRi38" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "0b01769e-6e56-486e-8368-8f682cb707cc",
"url": "/v2/security_groups/0b01769e-6e56-486e-8368-8f682cb707cc",
"created_at": "2015-01-20T01:52:15+00:00",
"updated_at": null
},
"entity": {
"name": "dummy1",
"rules": [
],
"running_default": false,
"staging_default": false,
"spaces_url": "/v2/security_groups/0b01769e-6e56-486e-8368-8f682cb707cc/spaces"
}
}