Skip to content
中文

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

NameInTypeRequiredDescription
workpathstringyesThe 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.
idpathstringyesThe progression to delete, by its identifier from the list.

Responses

StatusContent typesDescription
200application/jsonThe progression is gone.
400application/jsonINVALID_PARAMS means a field is missing, malformed or not allowed for this resource; correct the named field and repeat the call.
401application/jsonThe API key is missing, invalid or carries no organization; send a valid organization key in the Authorization header.
404application/jsonWORK_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.
500application/jsonINTERNAL means the request could not complete; re-read the resource before retrying a write, because the write may already have landed.