Forum Discussion

charlesssgraham's avatar
charlesssgraham
Contributor
3 years ago

Determine whether or not current board is private?

Hi, is there a way to query a board to check if it's private? Thanks in advance! 

  • Hi Payal, thanks for the reply.

     

    So if I'm trying to run this check in a component, how would I include this call in the Freemarker? Can you point me to an example in the docs? Thanks in advance!

  • Hi charlesssgraham,

    You can determine this by using the following V1 API call:

    [COMMUNITY_URL]/boards/id/[BOARD_ID]/view/allowed

     

    Let me know if this helps!

    Thanks!