User
Change an organization member role
Changed onOwner-only mutation; the owner and caller's own role cannot be changed.
put/api/v1/user/org/members/{id}
Request
- Base URLhttps://openmercantil.es
- AuthAPI key in cookie ob_sess
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Headers
X-CSRF-Tokenstring required
Fresh token returned by GET /api/v1/user/me for this authenticated session.
Request body
Response
Role updated
Changes
- info
endpoint added
- info