Add Share
POST/api/v2/custom-reports/1/shares
Add a user as an explicit share recipient. Upserts (updateOrCreate) so calling twice with a different permission updates the existing record.
Request body:
user_id(integer, required): Recipient user ID (cannot be self)permission(string, required):vieworedit
Returns 403 if the caller is not the report owner. Returns 422 if sharing with self or invalid permission.
Request
Responses
- 200
Successful response