Actions60
- Courses Actions
- Lessons Actions
- Topics Actions
- Quizzes Actions
- Groups Actions
- Course Users Actions
- Group Users Actions
- Custom Actions
- Assignments Actions
- Essays Actions
- Questions Actions
- Group Leaders Actions
- User Course Progress Actions
- User Courses Actions
- Group Courses Actions
- User Groups Actions
Group Leaders → Add
AI-generatedSummary
Adds one or more users as leaders to a LearnDash group. Provide the group ID in Parent ID and the user IDs in Item IDs; the node POSTs to /wp-json/ldlms/v2/groups/{parentId}/leaders with a body containing user_ids, then returns the API response as an array of JSON items.
Inputs
- Parent ID (required) — The ID of the group to add leaders to. Required.
- Item IDs — One or more numeric user IDs to add as group leaders. Add multiple entries to add multiple leaders.
Output shape
Array of JSON objects from the API response
Returns the LearnDash API response as JSON array items.
