Menu

Update model

Create API

PATCH https://api-staging-v2.logyx.it/v1/models/<id>

About

Update a model.

You can use the `is_locked` parameter to lock a model for a specific user.

Body


general general section Optional

Example

{
    "is_locked": true,
    "general": {
        "id": 1
    }
}

Response

{
    "code": 200,
    "message": "We have processed your request.",
    "data": {
        "id": 1,
        "version_id": 1,
        "created_at": "2023-01-13T10:43:45.185242",
        "updated_at": null,
        "general": {
            "name": "Example",
            "id": 1
        }
    },
    "links": {},
    "errors": []
}
Menu