Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/0b8721af-3ca3-45a6-a63d-e9d3c42cba6d/managers/uaa-id-223

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.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNSIsImVtYWlsIjoiZW1haWwtMTYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTR9.RazfdP9QUWt3SYm7V4BM1s05gg3dZ_s2A3u8jCBc4Ro
Host: example.org
Content-Type: application/json
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/organizations/0b8721af-3ca3-45a6-a63d-e9d3c42cba6d/managers/uaa-id-223" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNSIsImVtYWlsIjoiZW1haWwtMTYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTR9.RazfdP9QUWt3SYm7V4BM1s05gg3dZ_s2A3u8jCBc4Ro" \
	-H "Host: example.org" \
	-H "Content-Type: application/json" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 2731ce41-2de2-405d-9a7d-5350e3a7fdd8
X-Content-Type-Options: nosniff