Gamma API
ProjectsAttachments

Delete a form attachment

DELETE
/api/projects/{projectId}/forms/{formId}/attachments/{attachmentId}

Refused when a form cannot be changed now.

Who may call it: Anyone on the project whose permission profile allows form.update — or form.update-own, on their own (forms they created or are assigned). API keys: yes, given form.update 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.

formId*string
attachmentId*string

Response Body

Done; no content.

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