Change a connector source
Admin only. A field left out keeps its value, secret and grants included. grants, sent with the grantsVersion they were read at, replace the list and re-check every query on the source before the answer: one its grants no longer cover is blocked, one they cover again goes back to what it was; impact says what happened. With dryRun=true only the impact of the grants in the body is answered and nothing is saved. Switching a grant to a policy that does not hold queries approves what waits under it. A change to anything but the grants makes every replica drop the source's pool, catalog and answers.
Admin only. A field left out keeps its value, secret and grants included. grants, sent with the grantsVersion they were read at, replace the list and re-check every query on the source before the answer: one its grants no longer cover is blocked, one they cover again goes back to what it was; impact says what happened. With dryRun=true only the impact of the grants in the body is answered and nothing is saved. Switching a grant to a policy that does not hold queries approves what waits under it. A change to anything but the grants makes every replica drop the source's pool, catalog and answers.
AuthorizationBearer <token>A personal access token, odp_ followed by 43 characters. Create one in the dashboard.
id*stringThe source id.
dryRun?booleantrue to answer only the impact of the grants sent.
The fields to change.
application/json- body
cacheDefault?stringA duration.
cacheMin?stringA duration.
config?driver?stringpostgres or snowflake.
grants?array<>grantsVersion?integerThe grantsVersion the grants were read at.
int64maxBytes?integerint64maxConcurrent?integermaxRows?integername?stringLower-case letters, digits, _ and -.
secret?stringThe credential, or ${DROPSHELF_CONNECTOR_NAME}.
timeout?stringA duration.
The source now, with impact (null when the grants did not change) and recheckError when the queries could not be re-checked; or, for a dry run, only impact.
application/json- response
cacheDefault*stringA duration such as 15m.
cacheMin*stringA duration such as 1m.
config*The driver's fields, never the credential.
connections?integerFor an MCP server: how many members are connected. On the list and on one source read.
createdAt*stringWhen it was connected.
date-timedriver*stringpostgres, snowflake or mcp.
grants*array<>grantsVersion*integerSend it back with grants, so a save over another admin's is refused.
int64id*stringThe source id.
kind*stringsql for a database, mcp for an MCP server.
maxBytes*integerint64maxConcurrent*integermaxRows*integername*stringThe name queries files use.
secret*stringset, or env:NAME when the credential is read from the server's environment. Empty for an MCP server with no client secret.
timeout*stringA duration such as 30s.
updatedAt*stringWhen it last changed.
date-timeusage?On the list and on one source read; not on a write's answer.
impact*|nullrecheckError?stringThe grants are saved but their queries could not be re-checked.
curl -X PATCH 'https://drop.example.com/api/v1/admin/connectors/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "cacheDefault": "string", "cacheMin": "string", "config": {}, "connections": 0, "createdAt": "2019-08-24T14:15:22Z", "driver": "string", "grants": [ { "all": true, "id": "string", "kind": "string", "note": "string", "policy": "string", "scope": [ { "database": "string", "schema": "string", "table": "string" } ], "value": "string", "visibility": "any" } ], "grantsVersion": 0, "id": "string", "kind": "string", "maxBytes": 0, "maxConcurrent": 0, "maxRows": 0, "name": "string", "secret": "string", "timeout": "string", "updatedAt": "2019-08-24T14:15:22Z", "usage": { "blocked": 0, "drops": 0, "errorsDay": 0, "grantQueries": [ { "id": "string", "kind": "string", "queries": 0, "value": "string" } ], "grants": 0, "waiting": 0 }, "impact": { "blocked": 0, "drops": 0, "restored": 0, "stale": "2019-08-24T14:15:22Z", "unchecked": 0 }, "recheckError": "string"}Generated from dropshelf core at 6a548b2, 26 Nov 2026.
Stop sharing a collection DELETE
Owner, editor or admin. The collection's documents go back to the default: only a document's creator, the drop's owner, an editor or an admin may change or delete it. Nothing stored changes. The change is an audit event.
Change retention, name or visibility PATCH
Any subset of the three. Each is written by its own field-scoped statement, so the request is safe to send while a deploy of the same drop is running. A rename frees the old name at once and both names appear in the answer's url. 404 is also the answer for a drop the caller may not see. A body naming type is refused whole: a drop's type is fixed when it is created.