Authorizations
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
Path Parameters
Response
default - application/json;charset=UTF-8
default response
The response is of type any.
Handles CORS preflight requests for attachment document access
curl --request OPTIONS \
--url https://api.light.inc/v1/attachments/{attachmentId}/document \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data '{
"roles": [
"<string>"
],
"name": "<string>"
}'"<any>"Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
default response
The response is of type any.
curl --request OPTIONS \
--url https://api.light.inc/v1/attachments/{attachmentId}/document \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data '{
"roles": [
"<string>"
],
"name": "<string>"
}'"<any>"