Associate Developer with the Space
PUT /v2/spaces/:guid/developers/:developer_guid
Request
Route
PUT /v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/developers/uaa-id-244
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/fa6a1d7b-c8be-4ed5-9642-50f373626a71/developers/uaa-id-244" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NSIsImVtYWlsIjoiZW1haWwtMTUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2NzZ9.ORXK51Xc9Xs08BTz1l-z8fnkSQsxanaxugOlkYss0CU" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "fa6a1d7b-c8be-4ed5-9642-50f373626a71",
"url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71",
"created_at": "2016-03-17T21:41:16Z",
"updated_at": null
},
"entity": {
"name": "name-864",
"organization_guid": "5deae718-5dae-4f94-a7e2-41e0986a9745",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/5deae718-5dae-4f94-a7e2-41e0986a9745",
"developers_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/developers",
"managers_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/managers",
"auditors_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/auditors",
"apps_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/apps",
"routes_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/routes",
"domains_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/domains",
"service_instances_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/service_instances",
"app_events_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/app_events",
"events_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/events",
"security_groups_url": "/v2/spaces/fa6a1d7b-c8be-4ed5-9642-50f373626a71/security_groups"
}
}
Headers