Gamma API

Delete a form template

DELETE
/api/projects/{projectId}/form-templates/{templateId}

Only one no form was ever started from, deleted forms included; 409 otherwise โ€” archive it instead. Its files go with it.

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

templateId*string

Response Body

Done; no content.

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