Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/auditors/uaa-id-203
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Space
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/auditors/uaa-id-203" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNCIsImVtYWlsIjoiZW1haWwtMTI5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMDd9.4UiGHx1kmAHPZj9uR6r9qBP_Qv4Z2gnWwA5_-VPEbeU" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c",
"url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c",
"created_at": "2015-06-04T00:05:07Z",
"updated_at": null
},
"entity": {
"name": "name-1416",
"organization_guid": "fb6b4c42-9869-42ea-8edf-53f41bd6f66c",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/fb6b4c42-9869-42ea-8edf-53f41bd6f66c",
"developers_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/developers",
"managers_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/managers",
"auditors_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/auditors",
"apps_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/apps",
"routes_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/routes",
"domains_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/domains",
"service_instances_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/service_instances",
"app_events_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/app_events",
"events_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/events",
"security_groups_url": "/v2/spaces/ae23dbb3-eaa9-4bcb-bcc9-3c02cb09544c/security_groups"
}
}
Headers