Disassociate Billing Manager with the Organization by Username
DELETE v2/organizations/:guid/billing_managers
Request
Route
DELETE v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/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/434a5a07-4297-427b-a6fb-a03971c0eb58/billing_managers" -d '{
"username": "billing_manager@example.com"
}' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMCIsImVtYWlsIjoiZW1haWwtMjk2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1Mzh9.LtrVIzJ9sJtPNpnv4VedNbaWg6KLE2k15ofGH-pMaKs" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "434a5a07-4297-427b-a6fb-a03971c0eb58",
"url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58",
"created_at": "2015-11-30T23:38:58Z",
"updated_at": null
},
"entity": {
"name": "name-2468",
"billing_enabled": false,
"quota_definition_guid": "35977ba7-5b24-4c96-99c7-4ad09d770e7b",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/35977ba7-5b24-4c96-99c7-4ad09d770e7b",
"spaces_url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/spaces",
"domains_url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/domains",
"private_domains_url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/private_domains",
"users_url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/users",
"managers_url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/managers",
"billing_managers_url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/billing_managers",
"auditors_url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/auditors",
"app_events_url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/app_events",
"space_quota_definitions_url": "/v2/organizations/434a5a07-4297-427b-a6fb-a03971c0eb58/space_quota_definitions"
}
}
Headers