delete-container-registry-auth
Remove container registry authentication credentials by specifying their ID. Use this tool to manage authentication settings efficiently on the Novita MCP Server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the container registry auth to delete. Please ensure it exists before deleting. Before calling the MCP tool, please show me the name to help identify it. You can use the `list-container-registry-auths` tool to check the ID if needed. |
Implementation Reference
- src/tools.ts:488-500 (handler)Handler function that sends a POST request to the Novita API endpoint `/repository/auth/delete` with the provided auth ID and returns the result as formatted text.}, async (params) => { const result = await novitaRequest(`/repository/auth/delete`, "POST", { id: params.id, }); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; });
- src/tools.ts:484-487 (schema)Zod input schema defining the required 'id' parameter for the tool.id: z .string() .nonempty() .describe("ID of the container registry auth to delete. Please ensure it exists before deleting. Before calling the MCP tool, please show me the name to help identify it. You can use the `list-container-registry-auths` tool to check the ID if needed."),
- src/tools.ts:483-500 (registration)Registration of the 'delete-container-registry-auth' tool using server.tool, including inline schema and handler.server.tool("delete-container-registry-auth", { id: z .string() .nonempty() .describe("ID of the container registry auth to delete. Please ensure it exists before deleting. Before calling the MCP tool, please show me the name to help identify it. You can use the `list-container-registry-auths` tool to check the ID if needed."), }, async (params) => { const result = await novitaRequest(`/repository/auth/delete`, "POST", { id: params.id, }); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; });