Openapi
Make a bank account the primary account of the organization. The previous primary account stays on the list.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
companyBankAccountId*stringuuidorganizationId*stringuuidReturns the bank account.
application/jsonbic*string|nullcreatedAt*stringdate-timeholderName*string|nulliban*stringid*companyBankAccountIdSchemauuidisPrimary*booleanlabel*string|nullorganizationId*stringuuidposition*integer0 <= valueupdatedAt*stringdate-timecurl -X POST 'https://app.localhost/api/v1/organizations/123/company-bank-accounts/{bankAccountId}/primary'{ "bic": "string", "createdAt": "2019-08-24T14:15:22Z", "holderName": "string", "iban": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isPrimary": true, "label": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0, "updatedAt": "2019-08-24T14:15:22Z"}