Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/auditors/uaa-id-53
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/0c9880fd-d1b6-4069-a119-f2b2256b9270/auditors/uaa-id-53" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU0IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDU0NDUxNjA3fQ.knOeYedZ6Hk8a_BU_jGLIPrJHGjvVNGrvhL-SES204I" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "0c9880fd-d1b6-4069-a119-f2b2256b9270",
"url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270",
"created_at": "2016-01-26T22:20:07Z",
"updated_at": null
},
"entity": {
"name": "name-119",
"organization_guid": "994c26bf-08c9-49e7-ad26-1032e0a21b10",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/994c26bf-08c9-49e7-ad26-1032e0a21b10",
"developers_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/developers",
"managers_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/managers",
"auditors_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/auditors",
"apps_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/apps",
"routes_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/routes",
"domains_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/domains",
"service_instances_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/service_instances",
"app_events_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/app_events",
"events_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/events",
"security_groups_url": "/v2/spaces/0c9880fd-d1b6-4069-a119-f2b2256b9270/security_groups"
}
}
Headers