Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/auditors/uaa-id-62
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
auditor_guid
|
The guid of the auditor
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/auditors/uaa-id-62" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYzIiwiZW1haWwiOiJlbWFpbC0zOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTIxfQ.SC-U2nVlXP8ZDPA9JF5D-CCZH4QZXc7VvSIMuxdWFlo" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "87ee7926-4a7b-4d61-9056-c8118e327434",
"url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434",
"created_at": "2015-10-07T00:35:21Z",
"updated_at": null
},
"entity": {
"name": "name-140",
"organization_guid": "71ec03b6-7c1c-4258-b264-110521b45da4",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/71ec03b6-7c1c-4258-b264-110521b45da4",
"developers_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/developers",
"managers_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/managers",
"auditors_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/auditors",
"apps_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/apps",
"routes_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/routes",
"domains_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/domains",
"service_instances_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/service_instances",
"app_events_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/app_events",
"events_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/events",
"security_groups_url": "/v2/spaces/87ee7926-4a7b-4d61-9056-c8118e327434/security_groups"
}
}
Headers