Jump to content
We've recently updated our Privacy Statement, available here ×
  • Removing Resources from Favorites using REST API


    Prasad B
    • Features: JasperReports Server Version: v9.0.0 Product: JasperReports® Server

    Question: How do remove resources from favourites using REST API?

    Answer: The following method is used to remove the starred resources from the Favorites.

    Method: POST URL: http://<host>:<port>/jasperserver[-pro]/rest_v2/favorites/delete

    The content type for this request is usually a JSON object that contains the list of resource URIs to be deleted from Favorites.

    The Return values for this request is as below:
    a) For Success: 204 No Content - The request was successful.
    b) For Failure: i) 400 Bad Request - Invalid request syntax.
                    ii) 403 Forbidden - When the logged-in user does not have permission to access the resource.
                    iii) 404 Not Found - When the resource specified in the request does not exist.


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...