Skip to main content

Get User Image

Obtain the configured image for a given user.

GET https://instance.securid.com/aveksa/command.submit?cmd=getUserImage

Request

Parameters

getUserImage
formatproperties - (Default) key=value. most useful when requesting a single object. If multiple objects are returned, values is a csv. ie key=value1,value2,value3 where value1 is the value for the first object, value2 is the value for the 2nd object, etc.

json - Useful format for parsing into javascript or other languages. See www.json.org for details.
userIdThe user id of the user to retrieve the image for. If no userId is specified, the image is applied to the user associated with the token.

If using trusted application, then the first user image will be returned.

Headers

Bearer token
Acceptapplication/json
Content-Typeapplication/json

Response

Parameters

Binary image representing the requested logo (Content-Type : image/png).

Examples

Request

curl -K -X GET  \
"https://instance.securid.com/aveksa/command.submit?cmd=getUserImage&format=json&userId=10" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-o 10.png

Response

Binary image data