Sync directory groups now
curl --request POST \
--url https://app.hookie.ai/admin/api/workspace/directory-groups/syncconst options = {method: 'POST'};
fetch('https://app.hookie.ai/admin/api/workspace/directory-groups/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/workspace/directory-groups/sync"
response = requests.post(url)
print(response.text){}Workspace
Sync directory groups now
Reads every mapped group’s members from the directory and adds, changes or removes the project memberships the mappings made. A group that cannot be read changes nothing in its project.
POST
/
admin
/
api
/
workspace
/
directory-groups
/
sync
Sync directory groups now
curl --request POST \
--url https://app.hookie.ai/admin/api/workspace/directory-groups/syncconst options = {method: 'POST'};
fetch('https://app.hookie.ai/admin/api/workspace/directory-groups/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/workspace/directory-groups/sync"
response = requests.post(url)
print(response.text){}Response
Successful operation
The response is of type object.