Update file confidential status
curl --request PATCH \
--url https://pria.praxislxp.com/api/user/files/{fileId}/confidential \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"confidential": true
}
'{
"success": true,
"message": "File marked as confidential",
"is_private": true
}IP Vault
Update file confidential status
Updates the confidential (is_private) flag on a file. The caller must either own the file or be an institution admin for the file’s institution.
PATCH
/
api
/
user
/
files
/
{fileId}
/
confidential
Update file confidential status
curl --request PATCH \
--url https://pria.praxislxp.com/api/user/files/{fileId}/confidential \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"confidential": true
}
'{
"success": true,
"message": "File marked as confidential",
"is_private": true
}Documentation Index
Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT token passed in x-access-token header
Path Parameters
The file ID to update
Body
application/json
Whether the file should be marked as confidential (is_private)
Example:
true
Was this page helpful?
⌘I