User
Update User Org Role
Changed onUpdate a user's information for the org specified via header. If the user_id is not provided, the auth'ed user will be updated. If the user_id is provided, the role of the auth'ed user or api key must be an admin (1) or owner (2) of the organization.
put/api/user
Request
- Base URLhttps://api.trieve.ai
- URLhttps://api.trieve.ai/api/user
- AuthAPI key in header Authorization
Headers
TR-Organizationstring uuid required
The organization id to use for the request
Request body
Response
Confirmation that the user's role was updated
Changes
- info
added the new optional request property
- info
the request property
became nullable - info
the request property
became optional
- info
- breaking
the request property
became not nullable - breaking
the request property
became required - warning
removed the request property
- breaking