Disassociate Billing Manager with the Organization by Username
DELETE v2/organizations/:guid/billing_managers
Request
Route
DELETE v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/billing_managers
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
username
|
The user's name
|
|
|
|
{
"username": "billing_manager@example.com"
}
Headers
cURL
curl "https://api.[your-domain.com]v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/billing_managers" -d '{
"username": "billing_manager@example.com"
}' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU4IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ4MDM4OTQzfQ.E-gTcjBQ_VRpZt21XDLgFARLZVNyVAOMcbeppGl2CXM" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "eac99687-7c2f-4fcd-8ad2-7836455aa8a0",
"url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0",
"created_at": "2015-11-13T17:02:23Z",
"updated_at": null
},
"entity": {
"name": "name-60",
"billing_enabled": false,
"quota_definition_guid": "52746ca0-7433-45a8-a8bd-a61805742f7a",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/52746ca0-7433-45a8-a8bd-a61805742f7a",
"spaces_url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/spaces",
"domains_url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/domains",
"private_domains_url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/private_domains",
"users_url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/users",
"managers_url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/managers",
"billing_managers_url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/billing_managers",
"auditors_url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/auditors",
"app_events_url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/app_events",
"space_quota_definitions_url": "/v2/organizations/eac99687-7c2f-4fcd-8ad2-7836455aa8a0/space_quota_definitions"
}
}
Headers