Skip to main content
PATCH
/
v1
/
parts
/
{id}
/
files
Update Part Files
curl --request PATCH \
  --url https://api.example.com/v1/parts/{id}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "add": [
    {
      "group": "<string>",
      "uploadId": "<string>"
    }
  ],
  "remove": [
    "<string>"
  ]
}
'
{
  "status": 123,
  "message": "<string>"
}

Path Parameters

id
string
required

Part id.

Body

application/json
add
object[]

List of files to add.

remove
string[]

List of file ids to remove.

Response

There is no content to send for this request, but the headers may be useful.