Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_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/f49f7f86-2653-46b2-815b-34b4e38499a3/auditors/uaa-id-93
cURL
curl "https://api.[your-domain.com]/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/auditors/uaa-id-93" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk0IiwiZW1haWwiOiJlbWFpbC02M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0NDcxNjg5fQ.wNoK4qn8wFOkjqrjnBYrrmRvah0HWayYIpDc5uyDp_c" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "f49f7f86-2653-46b2-815b-34b4e38499a3",
"url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3",
"created_at": "2015-02-13T22:34:49Z",
"updated_at": null
},
"entity": {
"name": "name-248",
"organization_guid": "f61e90b5-81b4-4570-a38b-ed1d2f0f47da",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/f61e90b5-81b4-4570-a38b-ed1d2f0f47da",
"developers_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/developers",
"managers_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/managers",
"auditors_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/auditors",
"apps_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/apps",
"routes_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/routes",
"domains_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/domains",
"service_instances_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/service_instances",
"app_events_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/app_events",
"events_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/events",
"security_groups_url": "/v2/spaces/f49f7f86-2653-46b2-815b-34b4e38499a3/security_groups"
}
}