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>"
}
'Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
default response
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>"
}
'