Home
Version 3
Organizations API

Organizations API

Remove Billing Manager with the Organization by Username

DELETE v2/organizations/:guid/billing_managers

Request

Route

DELETE v2/organizations/930dcac4-3d52-4cb4-84f2-429f40348ce0/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
  • user@example.com
{
  "username": "billing_manager@example.com"
}

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY4IiwiZW1haWwiOiJlbWFpbC00OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA1fQ.DyJxKE-AtHxMIQ1hAMexFx7iuckceG8WVABwulu_L4o
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]v2/organizations/930dcac4-3d52-4cb4-84f2-429f40348ce0/billing_managers" -d '{
  "username": "billing_manager@example.com"
}' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY4IiwiZW1haWwiOiJlbWFpbC00OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA1fQ.DyJxKE-AtHxMIQ1hAMexFx7iuckceG8WVABwulu_L4o" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 77ca4026-3313-406d-9300-b2fb5689bb85
X-Content-Type-Options: nosniff