Gamma API
ProgressObjects

Move objects to the trash

DELETE
/api/projects/{projectId}/objects

Their statuses stay, hidden with them. Refused with 404 unless every id is a live element of the project.

Who may call it: Anyone on the project whose permission profile allows object.delete. API keys: yes, given object.delete for this project.

Authorization

cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

Request Body

application/json
  1. body
ids*array<>

Tracked elements' ids (not GlobalIds).

Items1 <= items <= 500
reason?string
Lengthlength <= 1000

Response Body

Done; no content.

Example Request
curl -X DELETE 'http://localhost:3000/api/projects/string/objects' \  -H 'Content-Type: application/json' \  -d '{  "ids": [    "string"  ]}'
Example Response
Empty