mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 09:13:11 +08:00
Add new command to delete API keys
This commit is contained in:
@@ -22,4 +22,10 @@ interface ApiKeyRepositoryInterface extends EntityRepositoryInterface, EntitySpe
|
||||
* Checks whether an API key with provided name exists or not
|
||||
*/
|
||||
public function nameExists(string $name): bool;
|
||||
|
||||
/**
|
||||
* Delete an API key by name
|
||||
* @return positive-int|0 Number of affected results
|
||||
*/
|
||||
public function deleteByName(string $name): int;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user