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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0IiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MzEwMTIwfQ.R9deHuSWM9QUyobNwUaaW3t13KCO-Tt5mmv34ywLov0
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

Route

DELETE /v2/users/uaa-id-33/audited_organizations/c3149a50-3044-45e8-9192-a383d54f7df1

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-33/audited_organizations/c3149a50-3044-45e8-9192-a383d54f7df1" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0IiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MzEwMTIwfQ.R9deHuSWM9QUyobNwUaaW3t13KCO-Tt5mmv34ywLov0" \
	-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: 605dd62f-1601-462c-9728-dccd1b3dc7c1
Content-Length: 836
X-Content-Type-Options: nosniff

Status

201 Created

Body

{
  "metadata": {
    "guid": "uaa-id-33",
    "url": "/v2/users/uaa-id-33",
    "created_at": "2015-02-12T01:42:00Z",
    "updated_at": null
  },
  "entity": {
    "admin": false,
    "active": false,
    "default_space_guid": "1a962969-ef03-491a-9b3c-baea8741db0b",
    "default_space_url": "/v2/spaces/1a962969-ef03-491a-9b3c-baea8741db0b",
    "spaces_url": "/v2/users/uaa-id-33/spaces",
    "organizations_url": "/v2/users/uaa-id-33/organizations",
    "managed_organizations_url": "/v2/users/uaa-id-33/managed_organizations",
    "billing_managed_organizations_url": "/v2/users/uaa-id-33/billing_managed_organizations",
    "audited_organizations_url": "/v2/users/uaa-id-33/audited_organizations",
    "managed_spaces_url": "/v2/users/uaa-id-33/managed_spaces",
    "audited_spaces_url": "/v2/users/uaa-id-33/audited_spaces"
  }
}