Update Model Record

Update some or all model record fields by primary key

PATCH https://YOUR_JET_BRIDGE_HOSTNAME/jet_api/models/:model/:pk/

Path Parameters

Headers

Request Body

{
    "id": 2,
    "slug": "china",
    "unique_name": "China",
    "name": "China",
    "alpha_3": "CHN",
    "continent": null,
    "order": 1,
    // (optional) How to display record in interface
    "__str__": "China"
}

Last updated