• Introduction
    • Getting Started
    • Authentication
  • Guide
    • Common Code Patterns
    • Metrics
  • Data
  • Deal Management
  • User
    • POSTClient Access Token
  • Chat
LogoLogo
Deal ManagementGroup

Upload Group Avatar

POST
/api/v1/group/:group_id/avatar
POST
/api/v1/group/:group_id/avatar
1curl -X POST https://app.termina.ai/api/v1/group/1/avatar \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: multipart/form-data" \
4 -F image=@string
Try it
200Successful
1{
2 "name": "string",
3 "account": "example.com",
4 "id": 1,
5 "account_manager": {
6 "name": "string",
7 "email": "string",
8 "thumbnail_url": "string"
9 },
10 "user_count": 1,
11 "deal_count": 1,
12 "thumbnail_url": "string",
13 "analysis_email": "string",
14 "data_api_access": true,
15 "created_at": "2024-01-15T09:30:00Z",
16 "updated_at": "2024-01-15T09:30:00Z",
17 "is_archived": true
18}
Upload an avatar for a group.
Was this page helpful?
Previous

Create User Role

Next
Built with
Create User Role
Upload an avatar for a group.

Path parameters

group_idintegerRequired

Headers

AuthorizationstringRequired
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Request

This endpoint expects a multipart form containing a file.
imagefileRequired
A file read as UploadFile

Response

Successful Response
namestring
The name of the group
accountstring
The account of the group. Must be a valid domain, URL, or email. The account will be normalized to a canonical form.
idinteger
account_managerobject or null
user_countinteger or null
deal_countinteger or null
thumbnail_urlstring or null
The thumbnail URL of the group
analysis_emailstring or null
The email address for analysis to be sent to
data_api_accessboolean or null
Whether the group has access to the data API
created_atstring or nullformat: "date-time"
updated_atstring or nullformat: "date-time"
is_archivedboolean or null

Errors

A file read as UploadFile

Bearer authentication of the form Bearer <token>, where token is your auth token.