Skip to main content
POST
/
v1
/
archiveCustomerBillingProviderConfigurations
Archive billing provider configurations for a customer
curl --request POST \
  --url https://api.metronome.com/v1/archiveCustomerBillingProviderConfigurations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customer_billing_provider_configuration_ids": [
    "4db51251-61de-4bfe-b9ce-495e244f3491",
    "4db51251-61de-4bfe-b9ce-495e244f3491"
  ],
  "customer_id": "20a060d1-aa80-41d4-8bb2-4f3091b93903"
}
'
{
  "data": {
    "customer_billing_provider_configuration_ids": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ],
    "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The ids of the billing provider configurations to archive

customer_billing_provider_configuration_ids
string<uuid>[]
required

Array of billing provider configuration IDs to archive

customer_id
string<uuid>
required

The customer ID the billing provider configurations belong to

Response

Success

data
object
required