Overview
IDP Group Sync lets workspace admins programmatically manage how IdP groups map to Plane projects and workspaces. All endpoints are workspace-scoped and require workspace admin permissions.
The Group Sync Config Object
Attributes
iduuidUnique identifier of the config.
is_enabledbooleanWhether IdP group sync is enabled for the workspace.
sync_on_loginbooleanSync group memberships automatically on user login.
auto_removebooleanAutomatically remove users from projects/workspace when they are removed from the IdP group.
sync_offlinebooleanAllow sync to run outside of login events.
group_attribute_keystringThe IdP claim key that contains group membership data (e.g.
groups).default_workspace_rolestringRole slug assigned to users when added to the workspace via group sync.
created_attimestampThe timestamp of when the config was created.
updated_attimestampThe timestamp of when the config was last updated.
The Project Group Mapping Object
Attributes
iduuidUnique identifier of the mapping.
idp_group_namestringThe name of the IdP group to map.
projectstringProject identifier the group is mapped to. Mutually exclusive with
all_projects.all_projectsbooleanWhen
true, maps the group to all projects in the workspace. Mutually exclusive withproject.rolestringRole slug assigned to group members within the project.
created_attimestampThe timestamp of when the mapping was created.
updated_attimestampThe timestamp of when the mapping was last updated.
The Workspace Group Mapping Object
Attributes
iduuidUnique identifier of the mapping.
idp_group_namestringThe name of the IdP group to map.
rolestringRole slug assigned to group members within the workspace.
created_attimestampThe timestamp of when the mapping was created.
updated_attimestampThe timestamp of when the mapping was last updated.
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"is_enabled": true,
"sync_on_login": true,
"auto_remove": false,
"sync_offline": false,
"group_attribute_key": "groups",
"default_workspace_role": "member",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}{
"id": "661f9511-f30c-52e5-b827-557766551111",
"idp_group_name": "engineering",
"project": "ENG",
"all_projects": false,
"role": "member",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}{
"id": "772g0622-g41d-63f6-c938-668877662222",
"idp_group_name": "leadership",
"role": "admin",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}
