Get the first user with a given e-mail address
Request
GET https://{hostname}:{port}
/cli/user/firstUserWithEmail?{parameters}
Accept: {contentType}
Parameter | Type | Required | Description |
---|---|---|---|
string | true | E-mail address of the user |
Parameter | Type | Required | Description |
---|---|---|---|
Accept |
|
true |
Example
curl -k -u jsmith:passwd
"https://deployserver.example.com:8443/cli/user/firstUserWithEmail?email=jsmith@us.ibm.com"
-H "Accept: application/json"
Example response
{"id":"2c1c9012-2111-4d6a-b5f0-b6cabff94713","name":"janesmith"}
Related CLI command: getFirstUserWithEmail.