cURL
curl --request PUT \ --url https://api.veryfront.com/projects/{project_reference}/uploads/grants/{path} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "grants": [ { "user_id": "<string>", "permission": "read" } ] } '
{ "data": [ { "user_id": "<string>", "permission": "read", "created_at": "<string>" } ], "resolved_path": "<string>" }
Sets grants for a private path.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Encoded path.
Show child attributes
Grants set