Disassociate Billing Manager with the Organization by Username
DELETE v2/organizations/:guid/billing_managers
Request
Route
DELETE v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/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/e5b14ee9-b623-4315-8951-f30b1c5a6db3/billing_managers" -d '{
"username": "billing_manager@example.com"
}' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NiIsImVtYWlsIjoiZW1haWwtMTE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5Nzh9.9PoEgX-ymX1mTFu_pAkfyj265RRMGqjop9ahwCKF6ek" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "e5b14ee9-b623-4315-8951-f30b1c5a6db3",
"url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3",
"created_at": "2016-01-13T17:29:38Z",
"updated_at": null
},
"entity": {
"name": "name-516",
"billing_enabled": false,
"quota_definition_guid": "bd9ac807-197b-4562-ab89-4252ed5fbc64",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/bd9ac807-197b-4562-ab89-4252ed5fbc64",
"spaces_url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/spaces",
"domains_url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/domains",
"private_domains_url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/private_domains",
"users_url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/users",
"managers_url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/managers",
"billing_managers_url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/billing_managers",
"auditors_url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/auditors",
"app_events_url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/app_events",
"space_quota_definitions_url": "/v2/organizations/e5b14ee9-b623-4315-8951-f30b1c5a6db3/space_quota_definitions"
}
}
Headers