@wildix/xbees-conversations-client > UpdateInboxTagCommand
UpdateInboxTagCommand class
Updates an existing tag. This operation is idempotent.
Signature:
export declare class UpdateInboxTagCommand extends UpdateInboxTagCommand_base
Extends: UpdateInboxTagCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { ConversationsClient, UpdateInboxTagCommand } from "@wildix/xbees-conversations-client"; // ES Modules import
// const { ConversationsClient, UpdateInboxTagCommand } = require("@wildix/xbees-conversations-client"); // CommonJS import
const client = new ConversationsClient(config);
const input = { // UpdateInboxTagInput
tagId: "STRING_VALUE", // required
userId: "STRING_VALUE",
name: "STRING_VALUE", // required
};
const command = new UpdateInboxTagCommand(input);
const response = await client.send(command);
// { // UpdateInboxTagOutput
// tag: { // InboxTag
// id: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// },
// };