# Archive Task **POST /api/v1.0/tasks/{task_id}/archive** This endpoint archives the task. ## Servers - https://openapi.niftypm.com: https://openapi.niftypm.com () ## Authentication methods - Bearer ## Parameters ### Path parameters - **task_id** (string) Enter task id ### Body: application/json (object) - **archived** (boolean) Indicates whether the task is archived or not ## Responses ### 201 The resource created successfully #### Body: application/json (object) - **message** (string) Success message ### 401 The client request has not been completed because it lacks valid authentication credentials for the requested resource. ### 403 The client does not have access rights to the content. ### 405 The request method is known by the server but is not supported by the target resource. [Powered by Bump.sh](https://bump.sh)