summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/openapi.json
diff options
context:
space:
mode:
authoradamelmore <[email protected]>2026-01-25 15:59:56 -0600
committerAdam <[email protected]>2026-01-25 20:40:00 -0600
commit03d884797c19e7cbe92d7ef237c4b28d51b58f18 (patch)
tree3bea0b88823ce6ef0a6f83cff90c3a14b9432610 /packages/sdk/openapi.json
parenta5b72a7d994618555467b4269f48b0c000e2db84 (diff)
downloadopencode-03d884797c19e7cbe92d7ef237c4b28d51b58f18.tar.gz
opencode-03d884797c19e7cbe92d7ef237c4b28d51b58f18.zip
wip(app): provider settings
Diffstat (limited to 'packages/sdk/openapi.json')
-rw-r--r--packages/sdk/openapi.json50
1 files changed, 50 insertions, 0 deletions
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index a029d0ef0..8808bcf7d 100644
--- a/packages/sdk/openapi.json
+++ b/packages/sdk/openapi.json
@@ -5709,6 +5709,56 @@
"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.auth.set({\n ...\n})"
}
]
+ },
+ "delete": {
+ "operationId": "auth.remove",
+ "parameters": [
+ {
+ "in": "query",
+ "name": "directory",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "in": "path",
+ "name": "providerID",
+ "schema": {
+ "type": "string"
+ },
+ "required": true
+ }
+ ],
+ "summary": "Remove auth credentials",
+ "description": "Remove authentication credentials",
+ "responses": {
+ "200": {
+ "description": "Successfully removed authentication credentials",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Bad request",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BadRequestError"
+ }
+ }
+ }
+ }
+ },
+ "x-codeSamples": [
+ {
+ "lang": "js",
+ "source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.auth.remove({\n ...\n})"
+ }
+ ]
}
},
"/event": {