Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

DELETE /v2/organizations/:guid/managers/:manager_guid

Request

Route

DELETE /v2/organizations/6de64585-d660-46f6-8046-26fcab6794a7/managers/uaa-id-50

Parameters

Name Description Valid Values Example Values
guid The guid of the Organization
manager_guid The guid of the user to associate as a manager

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTUyIiwiZW1haWwiOiJlbWFpbC00MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA1fQ.9TvFRF1xh-VHpqBXBgnqu5-Yvxfc3ZqfrEBeMBcDSTg
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/6de64585-d660-46f6-8046-26fcab6794a7/managers/uaa-id-50" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTUyIiwiZW1haWwiOiJlbWFpbC00MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA1fQ.9TvFRF1xh-VHpqBXBgnqu5-Yvxfc3ZqfrEBeMBcDSTg" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 6456f741-be22-4867-a261-8be53ac06fc9
X-Content-Type-Options: nosniff