{"id":19504718,"url":"https://github.com/tools4everbv/helloid-task-sa-target-helloid-userupdateattributes","last_synced_at":"2025-09-01T18:33:13.246Z","repository":{"id":208220543,"uuid":"721100471","full_name":"Tools4everBV/HelloID-Task-SA-Target-HelloID-UserUpdateAttributes","owner":"Tools4everBV","description":"HelloID - User update attributes","archived":false,"fork":false,"pushed_at":"2024-01-15T14:18:47.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:20.858Z","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-20T11:03:46.000Z","updated_at":"2024-01-09T09:38:39.000Z","dependencies_parsed_at":"2023-11-20T12:28:48.229Z","dependency_job_id":"502adbb0-af78-419d-8295-c70a0553f9f3","html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Target-HelloID-UserUpdateAttributes","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-target-helloid-userupdateattributes"],"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-UserUpdateAttributes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-UserUpdateAttributes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-UserUpdateAttributes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-HelloID-UserUpdateAttributes/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-UserUpdateAttributes/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:55.192Z","updated_at":"2025-02-25T22:12:21.992Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloID-Task-SA-Target-HelloID-AccountUpdateAttributes\n\n## Prerequisites\n\n- [ ] HelloID API key and secret\n- [ ] Pre-defined variables: `portalBaseUrl`, `portalApiKey` and `portalApiSecret` created in your HelloID portal.\n\n## Description\n\nThis code snippet will update an existing user 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 update an existing user 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    \"userName\": \"john.doe\",\n    \"firstName\": \"john\",\n    \"lastName\": \"doe\",\n    \"contactEmail\": \"johndoe@enyoi.org\",\n    \"isEnabled\": \"true\",\n    \"password\": \"P@ssw0rd1!\",\n    \"mustChangePassword\": \"true\",\n    \"employeeid\": \"12345678\",\n    \"title\": \"tester\",\n    \"department\": \"test\",\n    \"phonenumber\": \"0612345678\",\n    \"manager\": {\n        \"UserGUID\": \"8a6b62fc-dca3-4890-bacd-3db76c5e9152\"\n    }\n}\n```\n\u003e Note: the 'userName' property serves as the identifier, indicating which user is being updated.\n\u003e \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/b432862fd92c6-update-a-user)\n\n2. Creates authorization headers using the provided API key and secret.\n\n3. Update an existing using the: `Invoke-RestMethod` cmdlet. The hash table called: `$formObject` is passed to the body of the: `Invoke-RestMethod` cmdlet as a JSON object.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-helloid-userupdateattributes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-helloid-userupdateattributes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-helloid-userupdateattributes/lists"}