Remove Managed Organization from the User
DELETE /v2/users/:guid/managed_organizations/:managed_organization_guid
Request
Route
DELETE /v2/users/uaa-id-231/managed_organizations/cf32a4bd-81b2-4cb3-b855-4d35bf87f835
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the User
|
|
|
managed_organization_guid
|
The guid of the managed_organization
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/users/uaa-id-231/managed_organizations/cf32a4bd-81b2-4cb3-b855-4d35bf87f835" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMyIsImVtYWlsIjoiZW1haWwtMTg2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTQ0NTE2MjN9.u4b4xpxfbELnpsOioAjE2bVbxfdf9kLnMrbJ0k-TI5w" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers