Remove Billing Manager from the Organization
DELETE /v2/organizations/:guid/billing_managers/:billing_manager_guid
Request
Route
DELETE /v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/billing_managers/uaa-id-376
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Organization
|
|
|
billing_manager_guid
|
The guid of the user
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/billing_managers/uaa-id-376" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NyIsImVtYWlsIjoiZW1haWwtMjUxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDJ9.exeXJ6TuUzoZj4eMSQkLJ_FR-PKxa9wgu_ipxPagUcg" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "be2068cb-f62c-4148-b6bf-0dd62c681b43",
"url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43",
"created_at": "2015-10-07T00:35:42Z",
"updated_at": null
},
"entity": {
"name": "name-2178",
"billing_enabled": false,
"quota_definition_guid": "2d944acf-2c20-413d-9f91-e4cc059e5e54",
"status": "active",
"quota_definition_url": "/v2/quota_definitions/2d944acf-2c20-413d-9f91-e4cc059e5e54",
"spaces_url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/spaces",
"domains_url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/domains",
"private_domains_url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/private_domains",
"users_url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/users",
"managers_url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/managers",
"billing_managers_url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/billing_managers",
"auditors_url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/auditors",
"app_events_url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/app_events",
"space_quota_definitions_url": "/v2/organizations/be2068cb-f62c-4148-b6bf-0dd62c681b43/space_quota_definitions"
}
}
Headers