API to manage Space Access?

  • 23 February 2018
  • 2 replies

Hi there,

How do I control Space permissions via the API?

Specifically, I would like to create Spaces programmatically (which I can do) and then remove a groups inherited access to that folder.

2 replies

Userlevel 2

Hi @David_Ames,

Each space has an associated content_metadata_id, which you can identify using the get_sapce endpoint. This controls who can access the space. You can update the content_metadata_id with the permissions you want via the update_content_metadata_access endpoint. You cannot change this ID , but you can change the permissions associated with the ID.

Hope this helps!


Userlevel 4

Hey @David_Ames check out this new article outlining how to manage space access with the API. Let me know if you have any questions!