latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-14249167721.0 KB

75df3a43fcb2

Directories

Replace directory group role mappings

Replaces the entire set of directory group role mappings for a directory. The position of each item in the mappings array determines its precedence (the first item gets precedence 1). Passing an empty array removes all mappings. Group role mapping must be enabled on the directory.

put/directories/{directory_id}/group_role_mappings

Path parameters

directory_idstring required

The ID of the directory.

Request body

Response

A list of directory group role mappings, ordered by precedence.

total_countinteger required

Total number of directory group role mappings in the directory.