PATCH
/
ca
/
api
/
file
/
{id}
Patch File
curl --request PATCH \
  --url https://api.meetcampfire.com/ca/api/file/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "s3_content_type": "<string>",
  "s3_content_length": 1073741823,
  "s3_path": "<string>",
  "object_id": 1073741823
}'
{
  "id": 123,
  "customer": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": 123,
  "created_by_name": "<string>",
  "created_by_email": "<string>",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "url": "<string>",
  "s3_content_type": "<string>",
  "s3_content_length": 1073741823,
  "s3_path": "<string>",
  "object_id": 1073741823,
  "app": "<string>",
  "model": "<string>"
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Body

Response

200 - application/json

The response is of type object.