{"id":19504719,"url":"https://github.com/tools4everbv/helloid-task-sa-target-helloid-groupgrantmembership","last_synced_at":"2025-10-12T01:23:42.863Z","repository":{"id":209440434,"uuid":"724030581","full_name":"Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership","owner":"Tools4everBV","description":"HelloID - Group grant membership","archived":false,"fork":false,"pushed_at":"2024-01-16T12:17:55.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-08T10:45:19.146Z","etag":null,"topics":["delegated-form","helloid","powershell","product","service-automation","task"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tools4everBV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-27T08:56:21.000Z","updated_at":"2024-01-09T09:37:52.000Z","dependencies_parsed_at":"2024-11-10T22:28:32.209Z","dependency_job_id":"58094e7d-a932-4b2d-8db3-d00a3979ec85","html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-target-helloid-groupgrantmembership"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-GroupGrantMembership","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-GroupGrantMembership/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-GroupGrantMembership/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-GroupGrantMembership/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tools4everBV","download_url":"https://codeload.github.com/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240754366,"owners_count":19852189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["delegated-form","helloid","powershell","product","service-automation","task"],"created_at":"2024-11-10T22:26:56.099Z","updated_at":"2025-10-12T01:23:37.828Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloID-Task-SA-Target-HelloID-GroupGrantMembership\n\n\u003ca href=\"https://github.com/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership/network/members\"\u003e\u003cimg src=\"https://img.shields.io/github/forks/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership\" alt=\"Forks Badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership/pulls\"\u003e\u003cimg src=\"https://img.shields.io/github/issues-pr/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership\" alt=\"Pull Requests Badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership\" alt=\"Issues Badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership/graphs/contributors\"\u003e\u003cimg alt=\"GitHub contributors\" src=\"https://img.shields.io/github/contributors/Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupGrantMembership?color=2b9348\"\u003e\u003c/a\u003e\n\n## Prerequisites\n- [ ] HelloID API key and secret\n- [ ] Pre-defined variables: `portalBaseUrl`, `portalApiKey` and `portalApiSecret` created in your HelloID portal.\n\n## Description\nThis code snippet will add an existing group to an existing group within HelloID and executes the following tasks:\n\n1. Define a hash table `$formObject`. The keys of the hash table represent the properties necessary to add an existing group to an existing group within `HelloID`, while the values represent the values entered in the form.\n\n\u003e To view an example of the form output, please refer to the JSON code pasted below.\n\n```json\n{\n    \"groupToAddGUID\": \"9f2c94e5a-7881-455a-a727-3fafd9d926e0\",\n    \"groupToAddName\": \"John Doe's group To Add\",\n    \"groupGUID\": \"9509133d-8ae4-48bf-a2cb-e0f31cae4deb\",\n    \"groupName\": \"John Doe's group\"\n}\n```\n\n\u003e :exclamation: It is important to note that the names of your form fields might differ. Ensure that the `$formObject` hash table is appropriately adjusted to match your form fields.\n\u003e [See the HelloID API Docs page](https://apidocs.helloid.com/docs/helloid/7ae11d9ebccc2-link-a-group-to-a-group)\n\n2. Creates authorization headers using the provided API key and secret.\n\n3. add an existing group to an existing group using the: `Invoke-RestMethod` cmdlet. The hash table called: `$formObject` is passed to the body of the: `Invoke-RestMethod` cmdlet as a JSON object.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-helloid-groupgrantmembership","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-helloid-groupgrantmembership","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-helloid-groupgrantmembership/lists"}