Associate Auditor with the Space
PUT /v2/spaces/:guid/auditors/:auditor_guid
Request
Route
PUT /v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/auditors/uaa-id-14
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/9d02bccb-3658-488d-a1ab-e38d80d800e7/auditors/uaa-id-14" -d '' -X PUT \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1IiwiZW1haWwiOiJlbWFpbC05QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2NzV9.sVIEl3QDzb1Df9spxY1cBDow9DEgnWSafimQyiKEun0" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "9d02bccb-3658-488d-a1ab-e38d80d800e7",
"url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7",
"created_at": "2015-12-22T18:27:55Z",
"updated_at": null
},
"entity": {
"name": "name-29",
"organization_guid": "f176c4c6-be28-4c79-b7aa-b4a224b7b523",
"space_quota_definition_guid": null,
"allow_ssh": true,
"organization_url": "/v2/organizations/f176c4c6-be28-4c79-b7aa-b4a224b7b523",
"developers_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/developers",
"managers_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/managers",
"auditors_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/auditors",
"apps_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/apps",
"routes_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/routes",
"domains_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/domains",
"service_instances_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/service_instances",
"app_events_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/app_events",
"events_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/events",
"security_groups_url": "/v2/spaces/9d02bccb-3658-488d-a1ab-e38d80d800e7/security_groups"
}
}
Headers