Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/f4af6ff6-6e79-443d-9829-5360a44b12be/managers/uaa-id-151

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/f4af6ff6-6e79-443d-9829-5360a44b12be/managers/uaa-id-151" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MyIsImVtYWlsIjoiZW1haWwtMTMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4Mzh9.IDPfPWO_vS9qxIArNkOusrGRbpSQZeb0dRiAFyS6QeI" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 67a889f5-88d6-49eb-8e1f-a1b5a22d719c
X-Content-Type-Options: nosniff