Skip to main content
POST
/
v2
/
files
/
labels
Add Label to File
curl --request POST \
  --url https://api.lilt.com/v2/files/labels \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "label_name"
}
'
This response has no body data.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

id
string
required

A File id.

Body

application/json

A label name.

name
string

The Label name.

Example:

"label_name"

Response