Skip to main content
DELETE
/
api
/
v1
/
google-ads-database-data
/
customers
/
{customer_id}
/
company
Remove Customer From Company
curl --request DELETE \
  --url http://localhost:8000/api/v1/google-ads-database-data/customers/{customer_id}/company \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "date_added": "2023-11-07T05:31:56Z",
  "date_updated": "2023-11-07T05:31:56Z",
  "descriptive_name": "<string>",
  "currency_code": "<string>",
  "time_zone": "<string>",
  "status": "<string>",
  "manager": true,
  "is_active": true,
  "is_deleted": false
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

customer_id
integer
required

Query Parameters

token_id
integer | null

Response

Successful Response

Schema for GoogleAdsCustomer model.

id
integer
required

The customer ID

date_added
string<date-time>
required
date_updated
string<date-time>
required
descriptive_name
string
required

The descriptive name of the customer

currency_code
string
required

The currency code

time_zone
string
required

The time zone

status
string
required

The status of the customer

manager
boolean
required

Whether the customer is a manager account

is_active
boolean
default:true
is_deleted
boolean
default:false