v1

latestOpenAPI 3.1.02026-08-067019120.8 KB
Playground

Delete a file from the Playground

Deletes the specified file from the Playground folder. Returns 200 with task_id if a server restart is needed, or 204 if not. Requires admin, developer, or the playground_control permission.

delete/api/playground

Query parameters

filenamestring required

Name of the file to delete.

folder'questions' | 'sources' | 'static' | 'templates' | 'modules'

Playground folder (default static).

projectstring

Playground project (default default).

user_idinteger

User ID whose Playground to use.

restart0 | 1

Set to 0 to skip server restart (relevant when folder=modules).

Response

File deleted; server restart initiated.

task_idstring required

Opaque identifier that can be passed to a status endpoint.