Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Request
Headers
Route
PUT /v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/auditors/uaa-id-317
cURL
curl "https://api.[your-domain.com]/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/auditors/uaa-id-317" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxOCIsImVtYWlsIjoiZW1haWwtMjQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4ODN9.pEK2BR3wFvkksiU7qYNqoXF1XaEX0KpfO8xq1KWHiBQ" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "8694f25d-aed0-4466-8ceb-1ae0440c89d3",
"url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3",
"created_at": "2015-01-27T19:14:43Z",
"updated_at": null
},
"entity": {
"name": "name-1895",
"organization_guid": "2c3e4d7a-30dc-4e42-86d6-552fa7ee53f0",
"space_quota_definition_guid": null,
"organization_url": "/v2/organizations/2c3e4d7a-30dc-4e42-86d6-552fa7ee53f0",
"developers_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/developers",
"managers_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/managers",
"auditors_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/auditors",
"apps_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/apps",
"routes_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/routes",
"domains_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/domains",
"service_instances_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/service_instances",
"app_events_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/app_events",
"events_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/events",
"security_groups_url": "/v2/spaces/8694f25d-aed0-4466-8ceb-1ae0440c89d3/security_groups"
}
}