Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/auditors/uaa-id-270
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/59462df3-b5b8-4044-8671-f2c0b6411d46/auditors/uaa-id-270" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MSIsImVtYWlsIjoiZW1haWwtMTk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzZ9.Fh8tfUy702ye1P484oLUcLNU2ZJWx2Y3AZytb3tus1o" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "59462df3-b5b8-4044-8671-f2c0b6411d46",
"url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46",
"created_at": "2016-01-19T19:41:16Z",
"updated_at": null
},
"entity": {
"name": "name-1977",
"organization_guid": "338634ab-2211-41bb-a154-d77e8c60d5ac",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/338634ab-2211-41bb-a154-d77e8c60d5ac",
"developers_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/developers",
"managers_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/managers",
"auditors_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/auditors",
"apps_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/apps",
"routes_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/routes",
"domains_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/domains",
"service_instances_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/service_instances",
"app_events_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/app_events",
"events_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/events",
"security_groups_url": "/v2/spaces/59462df3-b5b8-4044-8671-f2c0b6411d46/security_groups"
}
}
Headers