braze-api
Version:
Track users, send messages, export data, and more with Braze API.
19 lines • 752 B
TypeScript
import type { UsersExternalIdsRenameObject } from './types';
/**
* External ID rename.
*
* Use this endpoint to “rename” your users’ external IDs. This endpoint sets a new (primary) `external_id` for the user and deprecates their existing `external_id`.
*
* {@link https://www.braze.com/docs/api/endpoints/user_data/external_id_migration/post_external_ids_rename/}
*
* @param apiUrl - Braze REST endpoint.
* @param apiKey - Braze API key.
* @param body - Request parameters.
* @returns - Braze response.
*/
export declare function rename(apiUrl: string, apiKey: string, body: UsersExternalIdsRenameObject): Promise<{
message: string;
external_ids: string[];
rename_errors: string[];
}>;
//# sourceMappingURL=rename.d.ts.map