Accountants

Update a customer app member role

Changed on

The firm admin sets Admin, CFO or Member (403 ACCOUNTANT_ROLE_REQUIRED for any other accountant, as for inviting and removing). Owner and Viewer stay with the client's owner (client app): changing an existing Owner or Viewer, or assigning Viewer, answers 403 CLIENT_OWNER_SETS_ROLE; assigning Owner is refused as before (422).

patch/accountant/companies/{customerId}/members/{id}

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required
id, string uuid required

Request body

UpdateCompanyMemberInput required
role, 'owner' | 'admin' | 'cfo' | 'member' | 'viewer' required

Response

Customer app member role updated

CompanyMemberResponse required
success, boolean
data, CompanyMember

Changes

    • breaking

      media type application/problem+json was changed to a more general media type application/json for the response status

    • warning

      removed the optional property detail from the response with the status

    • warning

      removed the optional property errors from the response with the status

    9 more changes in this revision