Associate Developer with the Space
PUT /v2/spaces/:guid/developers/:developer_guid
Request
Route
PUT /v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/developers/uaa-id-344
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/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/developers/uaa-id-344" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NSIsImVtYWlsIjoiZW1haWwtMjM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzk0MjYyMTB9.T9xXBNDUYOEQ6geSzCAwDJwJbLP5bC_WMO23AONYazI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "964a67e6-bf77-4077-a0fc-5efb5b88b2d6",
"url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6",
"created_at": "2015-08-06T00:36:50Z",
"updated_at": null
},
"entity": {
"name": "name-1991",
"organization_guid": "f93dbfb3-5662-4d8d-a068-c995ff6b9161",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/f93dbfb3-5662-4d8d-a068-c995ff6b9161",
"developers_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/developers",
"managers_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/managers",
"auditors_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/auditors",
"apps_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/apps",
"routes_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/routes",
"domains_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/domains",
"service_instances_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/service_instances",
"app_events_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/app_events",
"events_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/events",
"security_groups_url": "/v2/spaces/964a67e6-bf77-4077-a0fc-5efb5b88b2d6/security_groups"
}
}
Headers