Question

Hello Experts

  • 1 July 2020
  • 3 replies
  • 373 views

Hi


I’m trying to call logout API method call from postman but its throwing 404 error message.


{


“message”: “Not found”,


“documentation_url”: “http://docs.looker.com/


}



can you please suggest what parameter should i pass to call logout method.




Please correct me if im doing wrong something.



Regards,


Ajay


3 replies

So the API call needs to be switched to “DELETE”





Hope this helps 🙂

Oh and before i forget, you can also import the API calls through Looker’s OpenAPI specification (e.g., found at https://<your-looker-endpoint>:19999/api/3.1/swagger.json into postman.







  1. Click Import


    image







  2. Click on the “Link” Tab


    image







  3. Then type in the URL specific to your instance ( ex. https://:19999/api/3.1/swagger.json )







More details on Looker’s SDK: https://github.com/looker-open-source/sdk-codegen

Thank you for Response.


really it helps.

Reply