Users API

Remove Billing Managed Organization from the User

DELETE /v2/users/:guid/billing_managed_organizations/:billing_managed_organization_guid

Request

Route

DELETE /v2/users/uaa-id-274/billing_managed_organizations/a2d908b0-504d-435c-83ef-82969d353741

Parameters

Name Description Valid Values Example Values
guid The guid of the User
billing_managed_organization_guid The guid of the billing managed organization

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3NSIsImVtYWlsIjoiZW1haWwtMTk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTZ9.rO6iZE1qlYZ6DXxgmB-iBUaYilh6DPVlG7hmTLR9bHQ
Host: example.org
Content-Type: application/json
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-274/billing_managed_organizations/a2d908b0-504d-435c-83ef-82969d353741" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3NSIsImVtYWlsIjoiZW1haWwtMTk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTZ9.rO6iZE1qlYZ6DXxgmB-iBUaYilh6DPVlG7hmTLR9bHQ" \
	-H "Host: example.org" \
	-H "Content-Type: application/json" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 3663b751-853d-411c-aaa8-421b772a1671
X-Content-Type-Options: nosniff