Lists the Directory Sync directory groups for the authenticated org.
Required permission
Os > Admin > Roles > Read
Response body
- {object}Response object.
data
{object} requiredResult data.directoryGroups
[array] requiredAn array of org directory groups.- {object}An org directory group object.
id
string requiredID of the directory group.name
string requiredDisplay name of the directory group.idpId
string requiredID of the linked group from the Identity Provider (IdP).createdAt
string requiredupdatedAt
string required
API
CLI
JS Client
GET /v1/directory-groups
Example response
200 OK
A list of directory groups for the org.
JSON
{
"data": {
"directoryGroups": [
{
"id": "directory_group_1234567890ABCDEFGHIJKLMNOP"
}
]
}
}