Creates a link the dashboard or report can be accessed by. Shared link can be created for Dashboards and Reports only.

The following are the examples of HTTP status codes including errors that API can generate

Response codesResponse contentDescription
200 OKThe object with property "ShareUrl"The shared link has been created successfully.
400 Bad RequestShared link is not enabled for this teamTo be able to create a shared link you need this option to be enabled for your team. To do so navigate to "Admin"->"Team Settings"->"Public links"
400 Bad RequestEmail is invalidThe Email that was specified is invalid.
403 ForbiddenAccess deniedAccess to the object is denied.
404 Not FoundObject not foundThe Object Key that was specified doesn't exists.
Language
Authorization
Click Try It! to start a request and see the response here!