keys
Retrieve user by SSH key fingerprint
Retrieves user by SSH key fingerprint. Administrators only.
get/api/v4/keys
Request
- Base URLhttps://gitlab.com
- Authnone declared
Query parameters
fingerprintstring required
The fingerprint of an SSH key
Response
Retrieve user by SSH key fingerprint
Example response
{
"id": 1,
"username": "admin",
"public_email": "john@example.com",
"name": "Administrator",
"state": "active",
"avatar_url": "https://gravatar.com/avatar/1",
"avatar_path": "/user/avatar/28/The-Big-Lebowski-400-400.png",
"custom_attributes": [
{
"key": "foo",
"value": "bar"
}
],
"web_url": "https://gitlab.example.com/root",
"last_sign_in_at": "2015-09-03T07:24:01.670Z",
"confirmed_at": "2015-09-03T07:24:01.670Z",
"last_activity_on": "2015-09-03T07:24:01.670Z",
"email": "john@example.com",
"theme_id": 2,
"color_scheme_id": 1,
"projects_limit": 10,
"current_sign_in_at": "2015-09-03T07:24:01.670Z",
"can_create_group": true,
"can_create_project": true,
"two_factor_enabled": true,
"preferred_language": "en",
"created_by": {
"id": 1,
"username": "admin",
"public_email": "john@example.com",
"name": "Administrator",
"state": "active",
"avatar_url": "https://gravatar.com/avatar/1",
"avatar_path": "/user/avatar/28/The-Big-Lebowski-400-400.png",
"custom_attributes": [
{
"key": "foo",
"value": "bar"
}
],
"web_url": "https://gitlab.example.com/root"
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.