Associate Developer with the Space
PUT /v2/spaces/:guid/developers/:developer_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Request
Headers
Route
PUT /v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/developers/uaa-id-374
cURL
curl "https://api.[your-domain.com]/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/developers/uaa-id-374" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NSIsImVtYWlsIjoiZW1haWwtMjg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDN9.fyYdkyrtiHeZoP2KJba6yHFeUYr9TLH2EPpeGvuxG1M" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "8462c4bd-15c1-471b-8394-63a143952e95",
"url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95",
"created_at": "2015-02-12T01:42:23Z",
"updated_at": null
},
"entity": {
"name": "name-2042",
"organization_guid": "7a98201b-1b75-4f0f-b247-7bf3025edb39",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/7a98201b-1b75-4f0f-b247-7bf3025edb39",
"developers_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/developers",
"managers_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/managers",
"auditors_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/auditors",
"apps_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/apps",
"routes_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/routes",
"domains_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/domains",
"service_instances_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/service_instances",
"app_events_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/app_events",
"events_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/events",
"security_groups_url": "/v2/spaces/8462c4bd-15c1-471b-8394-63a143952e95/security_groups"
}
}