delete-container-registry-auth
Remove container registry authentication credentials from the Novita AI platform to manage access permissions and maintain security.
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)The handler function executes the tool logic by sending a POST request to `/repository/auth/delete` with the auth ID and returns the JSON result as text content.}, 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 for the required 'id' parameter of the container registry auth to delete.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 on the MCP server, including 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), }, ], }; });