update - API Key Module Reference
This documentation provides a reference to the update
method. This belongs to the API Key Module.
update(id, data, sharedContext?): Promise<ApiKeyDTO>
This method updates an existing API key.
Example
Parameters
id
stringRequiredThe ID of the API key.
The attributes to update in the API key.
Returns
The updated API key.
update(selector, data, sharedContext?): Promise<ApiKeyDTO[]>
This method updates existing API keys.
Example
Parameters
The filters that specify which API keys should be updated.
The attributes to update in the API keys.
Returns
The updated API keys.
Was this section helpful?