Delete a setting change
Code Mode: praxis.studio.works.progressions.delete
HTTP: DELETE /studio/v1/works/{work}/progressions/{id}
Remove one recorded change, by the prg_ identifier the list returns; to correct a change, delete it and record the new one.
Signature
praxis.studio.works.progressions.delete(args:{path:{/** e.g. "wu-gang" */ work:string;/** e.g. "prg_01JQ8Z3M9K4V7B2N6C5X0YTRHW" */ id:string}}):Promise<{/** Always true, which is what tells a caller the deletion landed rather than that the resource was already missing. */ deleted:boolean}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| work | path | string | yes | The work being addressed, either its organization-unique slug or its wk_ identifier; a slug case is what a person would say, and a renamed slug still resolves through its old value. |
| id | path | string | yes | The progression to delete, by its identifier from the list. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | The progression is gone. |
| 400 | application/json | INVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call. |
| 401 | application/json | The API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header. |
| 404 | application/json | WORK_NOT_FOUND, UNIT_NOT_FOUND, ENTRY_NOT_FOUND or PROGRESSION_NOT_FOUND means the work, the unit number, the entry (it must be in a library this work mounts) or the progression is not reachable; read the outline and the library for the names that exist. |
| 500 | application/json | INTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed. |