Shifts

  • Delete a shift

    DELETE /api/1/shifts/:uuid.json
    Formats
    json jsonp

    Deletes the shift associated with the supplied uuid

    Errors
    • 401 Unauthorized
    • 403 Read Denied - if the user is not allowed to delete this shift
    • 404 Record Not Found - returned if the project with the specified UUID is not found
    • 404 Record Not Found - returned if the shift with the specified UUID is not found
    Example
    DELETE /api/1/shifts/2429b3e3-3ce6-42af-af50-800186b6cfdf
    200

    Delete a shift against the specified project

    DELETE /api/1/projects/:project_uuid/shifts/:uuid.json
    Formats
    json jsonp

    Deletes the shift associated with the supplied uuid

    Errors
    • 401 Unauthorized
    • 403 Read Denied - if the user is not allowed to delete this shift
    • 404 Record Not Found - returned if the project with the specified UUID is not found
    • 404 Record Not Found - returned if the shift with the specified UUID is not found
    Example
    DELETE /api/1/shifts/2429b3e3-3ce6-42af-af50-800186b6cfdf
    200