メインコンテンツへスキップ
GET
/
users
/
{user_id}
/
avatar
cURL
curl -i -X GET "https://api.box.com/2.0/users/12345/avatar" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
"<string>"
このリソースは、バージョン2024.0のエンドポイントで使用されています。 詳細については、 Box APIのバージョン管理を参照してください。Box SDKのバージョニング戦略について詳しく学ぶ。」

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

user_id
string
required

ユーザーのID。

Response

ユーザーのアバターが見つかった場合は、レスポンスの本文内で画像データが返されます。

アバター。