MLflow Authentication REST API
The MLflow Authentication REST API allows you to create, get, update and delete users,
experiment permissions and registered model permissions.
The API is hosted under the /api route on the MLflow tracking server. For example, to list
experiments on a tracking server hosted at http://localhost:5000, access
http://localhost:5000/api/2.0/mlflow/users/create.
Important
The MLflow REST API requires content type application/json for all POST requests.
Table of Contents
Create User
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Get User
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Update User Password
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Update User Admin
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Delete User
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Create Experiment Permission
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Request Structure
Field Name  | 
Type  | 
Description  | 
|---|---|---|
experiment_id  | 
  | 
Experiment id.  | 
username  | 
  | 
Username.  | 
permission  | 
Permission to grant.  | 
Get Experiment Permission
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Request Structure
Field Name  | 
Type  | 
Description  | 
|---|---|---|
experiment_id  | 
  | 
Experiment id.  | 
username  | 
  | 
Username.  | 
Update Experiment Permission
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Delete Experiment Permission
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Create Registered Model Permission
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Request Structure
Field Name  | 
Type  | 
Description  | 
|---|---|---|
name  | 
  | 
Registered model name.  | 
username  | 
  | 
Username.  | 
permission  | 
Permission to grant.  | 
Get Registered Model Permission
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Request Structure
Field Name  | 
Type  | 
Description  | 
|---|---|---|
name  | 
  | 
Registered model name.  | 
username  | 
  | 
Username.  | 
Update Registered Model Permission
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Delete Registered Model Permission
Endpoint  | 
HTTP Method  | 
|---|---|
  | 
  | 
Data Structures
User
Field Name  | 
Type  | 
Description  | 
|---|---|---|
id  | 
  | 
User ID.  | 
username  | 
  | 
Username.  | 
is_admin  | 
  | 
Whether the user is an admin.  | 
experiment_permissions  | 
An array of ExperimentPermission  | 
All experiment permissions explicitly granted to the user.  | 
registered_model_permissions  | 
An array of RegisteredModelPermission  | 
All registered model permissions explicitly granted to the user.  | 
Permission
Permission of a user to an experiment or a registered model.
Name  | 
Description  | 
|---|---|
READ  | 
Can read.  | 
EDIT  | 
Can read and update.  | 
MANAGE  | 
Can read, update, delete and manage.  | 
NO_PERMISSIONS  | 
No permissions.  | 
ExperimentPermission
Field Name  | 
Type  | 
Description  | 
|---|---|---|
experiment_id  | 
  | 
Experiment id.  | 
user_id  | 
  | 
User id.  | 
permission  | 
Permission granted.  |