projects

Deletes the specified project.

Changed on

Deletes the specified project. Related tasks are deleted by default, while related time entries lose their project and task links. Set deleteTimeTrackings to delete those time entries as well.

         <Check title="Required Permissions" icon="key">The user must be the project creator or have `project-master-data:write` permission.</Check>
post/projects/{projectId}/delete

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/projects/{projectId}/delete
  • Auth: HTTP bearer

Path parameters

projectIdstring uuid required

The id of the project.

Request body

deleteTimeTrackingsboolean

Set to true to delete also the related time trackings. If it is set to false the related time trackings are still there, but the project and task reference will be cleared. That will also happen if no request body is present.

Response

No Content

object required

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id PostProjectDeleteByProjectId removed and replaced with projects_PostProjectDeleteByProjectId