Gamma API

Delete a model folder

DELETE
/api/projects/{projectId}/models/folders/{folderId}

Only an empty one: 409 while it holds folders or models.

Who may call it: Anyone on the project whose permission profile allows model.delete. API keys: yes, given model.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.

folderId*string

Response Body

Done; no content.

Example Request
curl -X DELETE 'http://localhost:3000/api/projects/string/models/folders/string'
Example Response
Empty