Search documentation
karat

+

K

User Documentation ↗

Get Profile Picture Of User

GET/api/v2/admin/users/{userId}/profilePicture

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:admin-read.

Path parameters

userId
string

The ID of a Foundry Group or User.

Response body

body
string

The user's profile picture in binary format. The format is the original format uploaded by the user. The response will contain a Content-Type header that can be used to identify the media type.

Examples

Request

Copied!
1 2 3 curl \ -H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/admin/users/f05f8da4-b84c-4fca-9c77-8af0b13d11de/profilePicture"