Views

Delete all project views

DEL

Delete all views for a specific project. A view is a tab in the Data Manager where you can set filters and customize what tasks appear.

You will need to provide the project ID. You can find this in the URL when viewing the project in Label Studio, or you can use List all projects.

Request

This endpoint expects an object.
project
integerRequired
DEL
1curl -X DELETE http://localhost:8080/api/dm/views/reset/ \
2 -H "Authorization: Token <api_key>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "project": 1
6}'