Set mode, owner and group of a path
curl --request POST \
--url https://api.styne.ai/sandboxes/{id}/files/permissions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/sandboxes/{id}/files/permissions"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/sandboxes/{id}/files/permissions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Set mode, owner and group of a path
POST
/
sandboxes
/
{id}
/
files
/
permissions
Set mode, owner and group of a path
curl --request POST \
--url https://api.styne.ai/sandboxes/{id}/files/permissions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.styne.ai/sandboxes/{id}/files/permissions"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.styne.ai/sandboxes/{id}/files/permissions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": 123,
"message": "<string>",
"error_code": "<string>",
"origin": "<string>",
"request_id": "<string>"
}Authorizations
Response
Success. The answer is described on https://docs.styne.ai/files.