Disassociate Developer with the Space by Username
DELETE v2/spaces/:guid/developers
Request
Route
DELETE v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/developers
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
username
|
The user's name
|
|
|
|
{
"username": "developer@example.com"
}
Headers
cURL
curl "https://api.[your-domain.com]v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/developers" -d '{
"username": "developer@example.com"
}' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzNiIsImVtYWlsIjoiZW1haWwtMTg5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDN9.SkVQq7SvWCTZNwjwLHFr3DaqbS6-A2JtnRjj_FP4MWs" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "fab5479d-2ba5-4125-be3a-0ab5595d8789",
"url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789",
"created_at": "2015-11-03T00:54:03Z",
"updated_at": null
},
"entity": {
"name": "name-1062",
"organization_guid": "ff7c7f60-9992-4128-a7b1-a0add8ecd35f",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/ff7c7f60-9992-4128-a7b1-a0add8ecd35f",
"developers_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/developers",
"managers_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/managers",
"auditors_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/auditors",
"apps_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/apps",
"routes_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/routes",
"domains_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/domains",
"service_instances_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/service_instances",
"app_events_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/app_events",
"events_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/events",
"security_groups_url": "/v2/spaces/fab5479d-2ba5-4125-be3a-0ab5595d8789/security_groups"
}
}
Headers