Home
Version 3
Users API

Users API

Remove Audited Organization from the User

DELETE /v2/users/:guid/audited_organizations/:audited_organization_guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the User

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MCIsImVtYWlsIjoiZW1haWwtMTkyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDB9.B8UTtsCR3-G34WBNcTIPNj-aOtuEliYQU_qDokEovyU
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/users/uaa-id-269/audited_organizations/a49b4d35-b7a3-4397-aa68-5658a6af74fc

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-269/audited_organizations/a49b4d35-b7a3-4397-aa68-5658a6af74fc" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MCIsImVtYWlsIjoiZW1haWwtMTkyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDB9.B8UTtsCR3-G34WBNcTIPNj-aOtuEliYQU_qDokEovyU" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f22e8151-9ac8-4a4a-940f-09bfcfa490cc
Content-Length: 845
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "uaa-id-269",
    "url": "/v2/users/uaa-id-269",
    "created_at": "2015-02-13T22:35:00Z",
    "updated_at": null
  },
  "entity": {
    "admin": false,
    "active": false,
    "default_space_guid": "6e245b66-8ab2-4f15-9073-f6616946977b",
    "default_space_url": "/v2/spaces/6e245b66-8ab2-4f15-9073-f6616946977b",
    "spaces_url": "/v2/users/uaa-id-269/spaces",
    "organizations_url": "/v2/users/uaa-id-269/organizations",
    "managed_organizations_url": "/v2/users/uaa-id-269/managed_organizations",
    "billing_managed_organizations_url": "/v2/users/uaa-id-269/billing_managed_organizations",
    "audited_organizations_url": "/v2/users/uaa-id-269/audited_organizations",
    "managed_spaces_url": "/v2/users/uaa-id-269/managed_spaces",
    "audited_spaces_url": "/v2/users/uaa-id-269/audited_spaces"
  }
}