curl -s -H 'Authorization: Bearer <your API token>' \ 'https://coda.io/apis/v1/docs/<doc ID>/acl/metadata' | jq .canShare # => "true"
{ "canShare": true, "canShareWithWorkspace": true, "canShareWithOrg": true, "canCopy": true }