Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/auditors/uaa-id-202
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/29a24aea-54f5-461c-b47e-0bc122b37a2f/auditors/uaa-id-202" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwMyIsImVtYWlsIjoiZW1haWwtMTM0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2NzR9.ONSjf6NmyyB8PMwLdxzlUHDxuTBuFI6iQoUIxDPwVio" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "29a24aea-54f5-461c-b47e-0bc122b37a2f",
"url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f",
"created_at": "2016-03-17T21:41:14Z",
"updated_at": null
},
"entity": {
"name": "name-801",
"organization_guid": "eac1550d-d384-45f8-a999-916d1db6662c",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/eac1550d-d384-45f8-a999-916d1db6662c",
"developers_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/developers",
"managers_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/managers",
"auditors_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/auditors",
"apps_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/apps",
"routes_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/routes",
"domains_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/domains",
"service_instances_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/service_instances",
"app_events_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/app_events",
"events_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/events",
"security_groups_url": "/v2/spaces/29a24aea-54f5-461c-b47e-0bc122b37a2f/security_groups"
}
}
Headers