function services_keyauth_admin_keys_delete in Services 6.2
Same name and namespace in other branches
- 7 auth/services_keyauth/services_keyauth.admin.inc \services_keyauth_admin_keys_delete()
Delete an API key.
Parameters
$kid: Unique identifier from the services_keys table.
1 call to services_keyauth_admin_keys_delete()
- services_keyauth_admin_keys_delete_confirm_submit in auth/
services_keyauth/ services_keyauth.admin.inc - Submit form callback for services_keyauth_admin_keys_delete_confirm().
File
- auth/
services_keyauth/ services_keyauth.admin.inc, line 175 - Generate security keys.
Code
function services_keyauth_admin_keys_delete($kid) {
db_query("DELETE FROM {services_keys} WHERE kid = '%s'", $kid);
}