v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBUser model roles
Assign or update user model role
Assign or update a model role for a user. If the user already has a role for the specified model, this endpoint will update it to the new role.
Model roles control what actions a user can perform on models and connections. To manage users, see the User APIs.
post/v1/users/{userId}/model-roles
Path parameters
userIdstring uuid required
The ID of the user to assign or update a model role for.
Request body
Response
Model role assigned or updated successfully.