API documentation for LegalOn services
/
Update access controls
LegalOn API (0.9.0)
Servers
The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1
- The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1/spaces/{space_id}/acls
Response
application/json
{ "space_id": "76088fa5-1ce5-3ca9-303a-8466c48581ba", "is_inherited": false, "user_group_access_level": [ { … }, { … } ], "user_access_level": [ { … } ], "user_group_total_size": 2, "user_total_size": 1 }
Bodyapplication/jsonrequired
Access controls update request
Principal type USER:user USER_GROUP:user group
Enum"USER""USER_GROUP"
- The server URL is `{api_base_url}/rest/v1`.
You can construct the server URL using the value of `api_base_url` provided in the response when obtaining an access token.
https://{api_base_url_without_scheme}/rest/v1/spaces/{space_id}/acls