Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/auditors/uaa-id-247
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/f15197c6-35ee-430b-9a1d-f9f78f652cc3/auditors/uaa-id-247" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0OCIsImVtYWlsIjoiZW1haWwtMTk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDN9.1GOAU9JVxv04dymA8ZBALV84e7_FRGUeviQnLk9GUE8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "f15197c6-35ee-430b-9a1d-f9f78f652cc3",
"url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3",
"created_at": "2015-11-03T00:54:03Z",
"updated_at": null
},
"entity": {
"name": "name-1085",
"organization_guid": "fab3180c-5abc-4f62-aa01-daa02643dd0b",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/fab3180c-5abc-4f62-aa01-daa02643dd0b",
"developers_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/developers",
"managers_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/managers",
"auditors_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/auditors",
"apps_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/apps",
"routes_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/routes",
"domains_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/domains",
"service_instances_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/service_instances",
"app_events_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/app_events",
"events_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/events",
"security_groups_url": "/v2/spaces/f15197c6-35ee-430b-9a1d-f9f78f652cc3/security_groups"
}
}
Headers