Remove Developer from the Space
DELETE /v2/spaces/:guid/developers/:developer_guid
Request
Route
DELETE /v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/developers/uaa-id-115
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
developer_guid
|
The guid of the developer
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/developers/uaa-id-115" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNyIsImVtYWlsIjoiZW1haWwtNjZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDY0MH0.-QRTtRwQz-FV-ls6KBsCgx14hk6BGO9-rGEELhk1P5A" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "58935749-3249-4ab6-9fd2-7e41d7ad3056",
"url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056",
"created_at": "2015-09-30T23:30:40Z",
"updated_at": null
},
"entity": {
"name": "name-1191",
"organization_guid": "5f7f60e4-b99c-4baf-a38b-a1d0c533a1ac",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/5f7f60e4-b99c-4baf-a38b-a1d0c533a1ac",
"developers_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/developers",
"managers_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/managers",
"auditors_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/auditors",
"apps_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/apps",
"routes_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/routes",
"domains_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/domains",
"service_instances_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/service_instances",
"app_events_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/app_events",
"events_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/events",
"security_groups_url": "/v2/spaces/58935749-3249-4ab6-9fd2-7e41d7ad3056/security_groups"
}
}
Headers