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

Update File

PUT
/api/v1/group/:group_id/deal/:deal_id/file/:file_id
PUT
/api/v1/group/:group_id/deal/:deal_id/file/:file_id
1curl -X PUT https://app.termina.ai/api/v1/group/1/deal/1/file/1 \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
Try it
200Updated
1{
2 "name": "string",
3 "id": 1,
4 "deal_id": 1,
5 "type": "deck",
6 "created_at": "2024-01-15T09:30:00Z",
7 "updated_at": "2024-01-15T09:30:00Z",
8 "is_archived": true
9}
Update a file by its ID for a specific group and deal.
Was this page helpful?
Previous

Delete File

Next
Built with
Delete File
Update a file by its ID for a specific group and deal.

Path parameters

group_idintegerRequired
deal_idintegerRequired
file_idintegerRequired

Headers

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

Request

This endpoint expects an object.
typeenum or nullOptional

Response

Successful Response
Successful Response
namestring

The human-readable name of the file

idinteger
deal_idinteger or null
typeenum or null
The type of the file
created_atstring or nullformat: "date-time"
updated_atstring or nullformat: "date-time"
is_archivedboolean or null

Errors

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