Update src/rest-client-v5.ts
Co-authored-by: Tiago <tiagosiebler@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
bf5ca51c6f
commit
58a3bdf3ad
@@ -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.
|
* 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(
|
return this.postPrivate(
|
||||||
'/v5/user/delete-sub-api',
|
'/v5/user/delete-sub-api',
|
||||||
apikey ? { apikey } : undefined,
|
params,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user