Delete a user.

Example

Use a bare-bones client and the command you need to make an API call.

import { SftpClient, DeleteUserCommand } from "@stedi/sdk-client-sftp"; // ES Modules import
// const { SftpClient, DeleteUserCommand } = require("@stedi/sdk-client-sftp"); // CommonJS import
const client = new SftpClient(config);
const input = { // DeleteUserInput
username: "STRING_VALUE", // required
};
const command = new DeleteUserCommand(input);
const response = await client.send(command);
// {};

Param

DeleteUserCommandInput

Returns

DeleteUserCommandOutput

See

Throws

ValidationException (client fault) A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.

Throws

SftpServiceException

Base exception class for all service exceptions from Sftp service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions