Associate Developer with the Space
PUT /v2/spaces/:guid/developers/:developer_guid
Request
Route
PUT /v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/developers/uaa-id-408
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/f0086b27-9998-4e34-998e-8823dfb86dea/developers/uaa-id-408" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwOSIsImVtYWlsIjoiZW1haWwtMjkwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDV9.Sk3Z7tleqIOXAFrEZBfjUyqO3JKurf63Xqw-hh-pmRQ" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "f0086b27-9998-4e34-998e-8823dfb86dea",
"url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea",
"created_at": "2016-02-19T02:04:05Z",
"updated_at": null
},
"entity": {
"name": "name-2511",
"organization_guid": "8e65dc8b-a104-44c7-8244-53a15fedc097",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/8e65dc8b-a104-44c7-8244-53a15fedc097",
"developers_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/developers",
"managers_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/managers",
"auditors_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/auditors",
"apps_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/apps",
"routes_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/routes",
"domains_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/domains",
"service_instances_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/service_instances",
"app_events_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/app_events",
"events_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/events",
"security_groups_url": "/v2/spaces/f0086b27-9998-4e34-998e-8823dfb86dea/security_groups"
}
}
Headers