Update or add account approvers
POST/v1/accounts/:account_id/users
Update or add account approvers
This endpoint allows updating account approvers by adding new ones, modifying existing roles, or removing those no longer needed. It accepts a JSON payload with a list of approvers and an optional quantity field. The operation involves database transactions to ensure data integrity.
Request
Path Parameters
account_id uuidrequired
Account id
- application/json
Body
required
- Array [
- ]
account_approvers object[]required
approver booleanrequired
email stringnullable
id uuidnullable
nickname stringnullable
role_id uuidrequired
approvers_quantity int32nullable
Responses
- 200
- 500
Account approvers updated successfully
Unexpected error
Loading...