cURL
curl --request POST \ --url https://rest.compute.cudo.org/v1/billing-accounts/{id}/payment-methods/{paymentMethodId}/set-default \ --header 'Authorization: <api-key>'
{ "id": "<string>", "paymentMethodId": "<string>" }
Sets a payment method as the default for a billing account.
API key authentication. API keys should be passed using the format Bearer API_KEY.
Bearer API_KEY
A successful response.