cURL
curl --request PUT \ --url http://localhost:3000/api/models/{modelId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>" } '
{ "id": "<string>", "user_id": "<string>", "name": "<string>", "access_control_list": [ { "roles": [ { "name": "<string>", "permissions": [ { "action": "View", "scopes": [ "<string>" ] } ] } ], "user_id": "<string>", "group_id": "<string>", "invite_id": "<string>", "email": "[email protected]" } ], "created_at": "2023-11-07T05:31:56Z" }
Updates a specific model by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the model to update
New name for the model
New description for the model
Model updated successfully
Unique identifier for the model
ID of the user who owns this model
Name of the model
Access control list for the model
Show child attributes
View
Edit
Comment
Invite Collaborator
Manage Model
Creation timestamp