Home
Version 3
Users API

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-402/billing_managed_organizations/ad387658-9e2e-4eb6-975b-8ce68ff651ac

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.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMyIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjZ9.00goMJaga-wNJjxZ0BIsxHtOEzjCZk4Fmii4Txjljdg
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/users/uaa-id-402/billing_managed_organizations/ad387658-9e2e-4eb6-975b-8ce68ff651ac" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMyIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjZ9.00goMJaga-wNJjxZ0BIsxHtOEzjCZk4Fmii4Txjljdg" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: acbf8459-a919-44b9-b22d-37cf7f0a14b6
X-Content-Type-Options: nosniff