Corgi BankDocumentation
OpenAPI

Set or revoke a business account user's role and payment limit

PUT/accounts/{id}/users/{user}

Path parameters

idstringRequired
userstringRequired

Headers

Idempotency-KeystringOptional

Send on every write that creates or changes money or state; a replay with the same key returns the original result with 200.

Body parameters

activebooleanRequired
payment_limit_amountintegerRequired
rolestringRequired

Returns

200 OK

account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

activebooleanRequired
changed_bystringRequired
payment_limit_amountintegerRequired
rolestringRequired
updated_atstring · date-timeRequired
user_idstringRequired

Example user_2tVh8nqLxq4GbDe0K1F6S9zRcWm

Errors

Every error is a problem document with a stable code. See Errors.

400401403404409412413422424429500503

to move to open esc to close