Associate Developer with the Space
PUT /v2/spaces/:guid/developers/:developer_guid
Request
Route
PUT /v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/developers/uaa-id-152
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/developers/uaa-id-152" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MyIsImVtYWlsIjoiZW1haWwtOTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTY2NDEzOH0.QglxG_xX5btq3lpj6VjL9v7zic87EELF09zafEtNCH0" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "627b7919-17b6-4804-9014-e5b57c305223",
"url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223",
"created_at": "2015-04-15T00:55:38Z",
"updated_at": null
},
"entity": {
"name": "name-1187",
"organization_guid": "2f4a5f0f-dbac-4836-ac5f-a9a8f982f6b7",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/2f4a5f0f-dbac-4836-ac5f-a9a8f982f6b7",
"developers_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/developers",
"managers_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/managers",
"auditors_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/auditors",
"apps_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/apps",
"routes_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/routes",
"domains_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/domains",
"service_instances_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/service_instances",
"app_events_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/app_events",
"events_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/events",
"security_groups_url": "/v2/spaces/627b7919-17b6-4804-9014-e5b57c305223/security_groups"
}
}
Headers