Skip to content

Commit

Permalink
BED-4707 added DELETE /permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mvlipka committed Aug 20, 2024
1 parent 292c82d commit 0793de6
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions packages/go/openapi/doc/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4437,6 +4437,78 @@
}
}
},
"/api/v2/saved-queries/{saved_query_id}/permissions": {
"parameters": [
{
"$ref": "#/components/parameters/header.prefer"
},
{
"name": "saved_query_id",
"description": "ID of the saved query",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"delete": {
"operationId": "DeleteSavedQueryPermissions",
"summary": "Revokes permission of a saved query from users",
"description": "Revokes permission of a saved query from a given set of users",
"tags": [
"Cypher",
"Community",
"Enterprise"
],
"requestBody": {
"description": "The request body for revoking permission a saved query from users",
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"user_ids": {
"type": "array",
"items": {
"$ref": "#/components/schemas/model.components.uuid"
}
},
"self": {
"type": "boolean"
}
}
}
}
}
},
"responses": {
"204": {
"$ref": "#/components/responses/no-content"
},
"400": {
"$ref": "#/components/responses/bad-request"
},
"401": {
"$ref": "#/components/responses/unauthorized"
},
"403": {
"$ref": "#/components/responses/forbidden"
},
"404": {
"$ref": "#/components/responses/not-found"
},
"429": {
"$ref": "#/components/responses/too-many-requests"
},
"500": {
"$ref": "#/components/responses/internal-server-error"
}
}
}
},
"/api/v2/graphs/cypher": {
"parameters": [
{
Expand Down

0 comments on commit 0793de6

Please sign in to comment.