Mutations

Mutations

Creating a Resource

To create a resource, you need to send a POST request to the appropriate endpoint with the required data in the body. Here’s an example:

{
  "name": "New Resource",
  "type": "example"
}

Updating a Resource

To update an existing resource, use a PUT request to the endpoint with the resource ID. The body should contain the updated information:

{
  "name": "Updated Resource"
}

Deleting a Resource

To delete a resource, send a DELETE request to the endpoint with the resource ID. There is no body required for this request:

delete /resources/{id}

Documentation last updated about 1 year ago.