Deletes the access key pair associated with the specified Machine User.

Example

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

import { IdentityClient, DeleteAccessKeyCommand } from "@stedi/sdk-client-identity"; // ES Modules import
// const { IdentityClient, DeleteAccessKeyCommand } = require("@stedi/sdk-client-identity"); // CommonJS import
const client = new IdentityClient(config);
const input = { // DeleteAccessKeyInput
accessKeyId: "STRING_VALUE", // required
machineUserName: "STRING_VALUE", // required
};
const command = new DeleteAccessKeyCommand(input);
const response = await client.send(command);
// {};

Param

DeleteAccessKeyCommandInput

Returns

DeleteAccessKeyCommandOutput

See

Throws

AccessDeniedException (client fault)

Throws

ProductUnavailableException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ResourceUnderChangeException (client fault)

Throws

ServiceException (server fault)

Throws

IdentityServiceException

Base exception class for all service exceptions from Identity service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions