Home
Version 3
Organizations API

Organizations API

Remove Auditor from the Organization

DELETE /v2/organizations/:guid/auditors/:auditor_guid

Request

Route

DELETE /v2/organizations/cf553c71-52b4-4419-8807-df379f1756d4/auditors/uaa-id-31

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization
auditor_guid The guid of the user

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyIiwiZW1haWwiOiJlbWFpbC0yNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjIzfQ.5_xyhIlX7QRRsmy4w9X4_4mlWFPMlkATXfI6espgghM
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/cf553c71-52b4-4419-8807-df379f1756d4/auditors/uaa-id-31" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyIiwiZW1haWwiOiJlbWFpbC0yNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxMzc0NjIzfQ.5_xyhIlX7QRRsmy4w9X4_4mlWFPMlkATXfI6espgghM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 4602d304-b027-4ee5-a4e1-e29f0f48cf0c
X-Content-Type-Options: nosniff