Share the zip file of all accessible Assets in a collection and send to the specified emails in share users list. User can also send the custom share message along with request.
The user sharing the Assets must be granted the Download and Share Security Template permission on the Assets being shared.
The Request Body must be a JSON object.
Successful operation
Invalid status value
Unauthorized. Missing Authorization or AccessToken or Access Token expired
Forbidden
{- "sender": {
- "name": "Michael Lee"
}, - "shareUsers": [
- {
- "email": "john@mail.com",
- "name": "John"
}
], - "shareMessage": "A message from sender to recipient"
}
{- "StatusCode": 200,
- "ExecutedVersion": "$LATEST",
- "Payload": "{\"statusCode\":200,\"body\":\"{\\\"message\\\":\\\"Message sent successfully\\\"}\",\"headers\":{\"content-type\":\"application/json\"}}"
}