Associate Developer with the Space
PUT /v2/spaces/:guid/developers/:developer_guid
Request
Route
PUT /v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/developers/uaa-id-274
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/bed347b4-688d-4340-a8a7-afb7e9c3c132/developers/uaa-id-274" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3NSIsImVtYWlsIjoiZW1haWwtMTg2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NTJ9.Zee3hD-SbdgMDN9CLrNiBqfXu_cnaRo23uOOCNWl-W4" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "bed347b4-688d-4340-a8a7-afb7e9c3c132",
"url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132",
"created_at": "2016-04-06T00:17:32Z",
"updated_at": null
},
"entity": {
"name": "name-976",
"organization_guid": "1638ecab-749d-4ca1-87d7-d06faf9cb2e8",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/1638ecab-749d-4ca1-87d7-d06faf9cb2e8",
"developers_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/developers",
"managers_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/managers",
"auditors_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/auditors",
"apps_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/apps",
"routes_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/routes",
"domains_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/domains",
"service_instances_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/service_instances",
"app_events_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/app_events",
"events_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/events",
"security_groups_url": "/v2/spaces/bed347b4-688d-4340-a8a7-afb7e9c3c132/security_groups"
}
}
Headers