Accountants
Update a customer app member role
Changed onThe 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 URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
customerId, string uuid required
id, string uuid required
Request body
Update Company Member Input required
role, 'owner' | 'admin' | 'cfo' | 'member' | 'viewer' required
Response
Customer app member role updated
Company Member Response required
success, boolean
data, Company Member
Changes
- breaking
media type
application/problem+jsonwas changed to a more general media typeapplication/jsonfor the response status - warning
removed the optional property
detailfrom the response with the status - warning
removed the optional property
errorsfrom the response with the status
9 more changes in this revision
- breaking