latestOpenAPI 3.1.02026-08-221163801019.2 KB
f0f28319e448
Admin
Submit a SQL query
Execute a read-only SQL query on Amigo's databases for the specified organization.
Permissions
This endpoint requires the authenticated user to have greater privileges than the DefaultAdministratorRole.
post/v1/{organization}/admin/sql_query
Path parameters
organizationstring required
Headers
x-mongo-cluster-namestring nullable
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
Sec-WebSocket-Protocolstring[]
Request body
Response
Succeeded.