Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/auditors/uaa-id-70
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/1fe55927-3edf-4b41-930d-be0603060b32/auditors/uaa-id-70" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTcxIiwiZW1haWwiOiJlbWFpbC01OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAwfQ.uYFvbXfRrGXXEQsGNsgOq0l_wfXWYUKwap-DCWnTZTU" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "1fe55927-3edf-4b41-930d-be0603060b32",
"url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32",
"created_at": "2015-04-07T19:11:40Z",
"updated_at": null
},
"entity": {
"name": "name-234",
"organization_guid": "3dabdad6-796d-4b78-8c39-05fdb77615ff",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/3dabdad6-796d-4b78-8c39-05fdb77615ff",
"developers_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/developers",
"managers_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/managers",
"auditors_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/auditors",
"apps_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/apps",
"routes_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/routes",
"domains_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/domains",
"service_instances_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/service_instances",
"app_events_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/app_events",
"events_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/events",
"security_groups_url": "/v2/spaces/1fe55927-3edf-4b41-930d-be0603060b32/security_groups"
}
}
Headers