v12

latestOpenAPI 3.1.0AGPL-3.0raw.githubusercontent.com2026-05-286377631.6 MB
/api/native-query-snippet

PUT /api/native-query-snippet/{id}

Update an existing NativeQuerySnippet.

put/api/native-query-snippet/{id}

Path parameters

idinteger required

value must be an integer greater than zero.

Request body

archivedboolean nullable
collection_idinteger nullable

value must be an integer greater than zero.

contentstring nullable
descriptionstring nullable
{"stackTrail":"paths:/api/native-query-snippet/{id}:put:requestBody:content:application/json:schema:properties:name:oneOf","oasType":"schema","type":"unknown","description":"snippet names cannot include '}' or start with spaces","nullable":true}

Response

Successful response