DELETE/projects/api/v3/me/timers/{timerId}.json

Delete a timer by ID

Delete an existing timer.

Path Params

  • Name
    timerId
    Type
    integer
    required
    Description

Body Params

DeleteRequest contains the whether or not a timer should be hard deleted or soft deleted. Hard delete will remove the timer row from the DB and remove its timer intervals. Soft delete will just mark it as deleted.

    • Name
      hardDelete
      Type
      boolean

    Responses

    • Code
      204
      Description
      204 No Content No Data
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      403
      Type
      object
      Schema
      Description
      403 Forbidden
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      404
      Description
      404 Not Found No Data

    Examples

    400 Bad Request

    ErrorResponse
    {
      "errors": [
        {
          "code": "string",
          "detail": "string",
          "id": "string",
          "meta": {},
          "title": "string"
        }
      ]
    }