info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
| `id` | integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user.
| `id` | integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user.
| `snippet_id` | integer | yes | The ID of a project's snippet.
| `id` | integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user.
| `files:content` | string | yes | Content of the snippet file.
| `files:file_path` | string | yes | File path of the snippet file.
| `title` | string | yes | Title of a snippet.
| `content` | string | no | Deprecated: Use `files` instead. Content of a snippet.
| `description` | string | no | Description of a snippet.
| `file_name` | string | no | Deprecated: Use `files` instead. Name of a snippet file.
| `files` | array of hashes | no | An array of snippet files.
| `visibility` | string | no | Snippet's [visibility](#snippet-visibility-level).
| `id` | integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user.
| `files:action` | string | yes | Type of action to perform on the file. One of: `create`, `update`, `delete`, `move`.
| `snippet_id` | integer | yes | The ID of a project's snippet.
| `content` | string | no | Deprecated: Use `files` instead. Content of a snippet.
| `description` | string | no | Description of a snippet.
| `files` | array of hashes | no | An array of snippet files.
| `files:content` | string | no | Content of the snippet file.
| `files:file_path` | string | no | File path of the snippet file.
| `file_name` | string | no | Deprecated: Use `files` instead. Name of a snippet file.
| `files:previous_path` | string | no | Previous path of the snippet file.
| `title` | string | no | Title of a snippet.
| `visibility` | string | no | Snippet's [visibility](#snippet-visibility-level).
Deletes an existing project snippet. This returns a `204 No Content` status code if the operation was successfully or `404` if the resource was not found.
| `id` | integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user.
| `snippet_id` | integer | yes | The ID of a project's snippet.
| `id` | integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user.
| `snippet_id` | integer | yes | The ID of a project's snippet.
| `id` | integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user.
| `file_path` | string | yes | The URL-encoded path to the file, for example, `snippet%2Erb`.
| `ref` | string | yes | The name of a branch, tag or commit, for example, `main`.
| `snippet_id` | integer | yes | The ID of a project's snippet.
| `id` | integer or string | yes | The ID or [URL-encoded path of the project](rest/index.md#namespaced-path-encoding) owned by the authenticated user.
| `snippet_id` | Integer | yes | The ID of a snippet.