Home
Version 3
Organizations API

Organizations API

Remove Manager from the Organization

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

Request

Route

DELETE /v2/organizations/8779e59e-1af1-465f-86cf-f83b74a6d496/managers/uaa-id-404

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

cURL

curl "https://api.[your-domain.com]/v2/organizations/8779e59e-1af1-465f-86cf-f83b74a6d496/managers/uaa-id-404" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwNiIsImVtYWlsIjoiZW1haWwtMjkzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyODR9.6R53mn_jqFHcdavYoh0i0aCiGRPaNwNEQtny8nnUgXU" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 
X-Content-Type-Options: nosniff