Mutations

️❗️

Mutations are disabled by default. If you want to protect them from the outside world consider enabling your Secret Token as well

Create, update and delete records

Insert

When inserting a new record you can get the generated id immediately:

{
insert_people [{
id: "recABC123",
name: "John",
vegan: true
}]
}

Update

When updating an existing record you must provide an id to locate it along the attributes to be updated:

{
insert_people [{
id: "recABC123",
name: "John",
vegan: false
}]
}

Delete

When deleting a record only an id is needed:

{
insert_people [{
id: "recABC123"
}]
}