Delete OpenAPI tool
Deletes one tool of a connector created from an OpenAPI spec, by its name or ID. To keep it from coming back, remove its operation from the spec.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Path parameters
tool_identifierstringrequiredThe tool's name or ID.
scalekit_client.actions.delete_custom_tool
Deletes one tool of a connector created from an OpenAPI spec. Pass the tool name or ID.
scalekit_client.actions.delete_custom_tool( tool_identifier: str,) -> NoneParameters
tool_identifierstrrequiredThe tool's name or ID.
Returns None: None on success.
From scalekit-sdk-python 2.26.0.
scalekit.actions.deleteCustomTool
Deletes one tool of a connector created from an OpenAPI spec. Pass the tool name or ID.
scalekit.actions.deleteCustomTool( params: { toolIdentifier: string; },): Promise<void>Parameters
toolIdentifierstringrequiredThe tool's name or ID.
Returns Promise<void>: Resolves once the tool is deleted.
From @scalekit-sdk/node 2.24.0.
Errors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request - tool_identifier is longer than 2048 characters or has a control character404Not Found - no deletable custom tool has this name or ID409Conflict - RESOURCE_ALREADY_EXISTS when a tool collection run of the connector is queued or processing, or TOOL_NAME_AMBIGUOUS when tools of more than one connector have this name