Skip to content

@mbanq/core-sdk-js v0.50.0


@mbanq/core-sdk-js / commands / DeleteAcquiredCard

Function: DeleteAcquiredCard()

DeleteAcquiredCard(params): Command<{ acquiredCardId: number; clientId: number; }, { clientId: number; id: number; officeId: number; resourceId: number; }>

Defined in: src/commands/rest/acquiredCard.ts:222

Deletes an acquired card from a client

Removes an acquired/external card from a client's list of acquired cards. This operation permanently deletes the card and its associated data.

Parameters

params

acquiredCardId

number = ...

The unique identifier of the acquired card to delete

clientId

number = ...

The unique identifier of the client

Returns

Command<{ acquiredCardId: number; clientId: number; }, { clientId: number; id: number; officeId: number; resourceId: number; }>

Command object that executes the API request and returns the deleted card details

Example

typescript
const command = DeleteAcquiredCard({clientId: 12345, acquiredCardId: 67890});
const result = await client.request(command);

Released under the MIT License.