Update src/rest-client-v5.ts

Co-authored-by: Tiago <tiagosiebler@users.noreply.github.com>
This commit is contained in:
Karim Sakhibgareev
2024-06-03 16:05:53 +01:00
committed by GitHub
parent bf5ca51c6f
commit 58a3bdf3ad

View File

@@ -1379,10 +1379,10 @@ export class RestClientV5 extends BaseRestClient {
*
* DANGER: BE CAREFUL! The sub API key used to call this interface will be invalid immediately.
*/
deleteSubApiKey(apikey?: string): Promise<APIResponseV3WithTime<{}>> {
deleteSubApiKey(params?: { apikey?: string; ): Promise<APIResponseV3WithTime<{}>> {
return this.postPrivate(
'/v5/user/delete-sub-api',
apikey ? { apikey } : undefined,
params,
);
}