Rowlogy
Rowlogy
Content Operations

Delete Value

Delete a value at a specified path within a project's content.

This endpoint allows you to delete a value at a specified path within a project's content.

Endpoint

POST https://rowlogy.com/api/:username/:projectSlug/content/delete

Path Parameters

ParameterTypeDescription
usernamestringThe username of the project owner. Must start with "@".
projectSlugstringThe project ID of the project.

Request Body

The request body should be a JSON object with the following properties:

ParameterTypeDescription
pathstringThe dot-separated path to the value to delete (e.g., data.item.name).
{
    "path": "data.item.name"
}

Authentication

You can authenticate your requests using one of the following methods:

Session Token

Include your session token in the Authorization header:

Authorization: Bearer <YOUR_SESSION_TOKEN>

API Key Authentication

Alternatively, you can authenticate using an API key. Include your API key in the Authorization header:

Authorization: Bearer <YOUR_API_KEY>

For more details on generating and managing API keys, see the Using API Keys guide.

Response

Success (200 OK)

{
    "message": "Value deleted successfully"
}

Error Responses

  • 400 Bad Request: If path is missing or not a string.
  • 401 Unauthorized:
    • If no authentication (user session or API key) is provided.
    • If the provided API key is invalid or expired.
  • 403 Forbidden:
    • If the authenticated user does not have access to the project.
    • If the API key used does not have the required permissions for this project.
  • 404 Not Found: If the project or user does not exist.
  • 500 Internal Server Error: For any server-side issues.