AgentConnect
Profile

Upload your profile photo

Store a PNG, JPEG, or WebP photo for your profile. The image replaces the sign-in provider photo until removed.

PUT
/v1/me/picture

授权

bearerAuth
授权Bearer <token>

位置: header

请求主体

TypeScript 定义

在 TypeScript 中使用 request body 类型。

body*unknown

响应主体

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/me/picture"
{  "userId": "string",  "email": "string",  "name": "string",  "picture": "string",  "pictureCustom": true,  "pictureUploadEnabled": true}