Remove Developer from the Space
DELETE /v2/spaces/:guid/developers/:developer_guid
Request
Route
DELETE /v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/developers/uaa-id-186
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/660cea0c-fffb-4193-8df3-4c14bde7b7d1/developers/uaa-id-186" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OCIsImVtYWlsIjoiZW1haWwtMTA3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NDB9.os9QDg614UVTMp8lhUZvCLyOZTVOJ9eK8WVTb97Rhtc" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "660cea0c-fffb-4193-8df3-4c14bde7b7d1",
"url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1",
"created_at": "2015-10-15T23:52:20Z",
"updated_at": null
},
"entity": {
"name": "name-1397",
"organization_guid": "ec659598-8500-42f6-871d-0cf93b31b84b",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/ec659598-8500-42f6-871d-0cf93b31b84b",
"developers_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/developers",
"managers_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/managers",
"auditors_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/auditors",
"apps_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/apps",
"routes_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/routes",
"domains_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/domains",
"service_instances_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/service_instances",
"app_events_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/app_events",
"events_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/events",
"security_groups_url": "/v2/spaces/660cea0c-fffb-4193-8df3-4c14bde7b7d1/security_groups"
}
}
Headers