{"id":19504673,"url":"https://github.com/tools4everbv/helloid-task-sa-target-topdesk-operatorunarchive","last_synced_at":"2026-06-13T03:05:48.166Z","repository":{"id":217468461,"uuid":"729247016","full_name":"Tools4everBV/HelloID-Task-SA-Target-TOPdesk-OperatorUnarchive","owner":"Tools4everBV","description":"TOPdesk - Operator unarchive","archived":false,"fork":false,"pushed_at":"2024-01-16T10:52:44.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-25T22:11:54.973Z","etag":null,"topics":["delegated-form","powershell","product","service-automation","task","topdesk"],"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}},"created_at":"2023-12-08T17:57:34.000Z","updated_at":"2024-01-09T09:36:52.000Z","dependencies_parsed_at":"2024-01-16T17:13:32.701Z","dependency_job_id":"ff0cff27-2a54-4936-993c-e36ce7ffa1e5","html_url":"https://github.com/Tools4everBV/HelloID-Task-SA-Target-TOPdesk-OperatorUnarchive","commit_stats":null,"previous_names":["tools4everbv/helloid-task-sa-target-topdesk-operatorunarchive"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Tools4everBV/HelloID-Task-SA-Target-TOPdesk-OperatorUnarchive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-TOPdesk-OperatorUnarchive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-TOPdesk-OperatorUnarchive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-TOPdesk-OperatorUnarchive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-TOPdesk-OperatorUnarchive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tools4everBV","download_url":"https://codeload.github.com/Tools4everBV/HelloID-Task-SA-Target-TOPdesk-OperatorUnarchive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tools4everBV%2FHelloID-Task-SA-Target-TOPdesk-OperatorUnarchive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34270418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","powershell","product","service-automation","task","topdesk"],"created_at":"2024-11-10T22:26:43.316Z","updated_at":"2026-06-13T03:05:48.134Z","avatar_url":"https://github.com/Tools4everBV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HelloID-Task-SA-Target-TOPdesk-OperatorUnarchive\n\n## Prerequisites\n\n- [ ] TOPdesk API Username and Key\n- [ ] User-defined variables: `topdeskBaseUrl`, `topdeskApiUsername` and `topdeskApiSecret` created in your HelloID portal.\n\n## Description\n\nThis code snippet will unarchive an existing operator within TOPdesk and executes the following tasks:\n\n1. Define a hash table `$formObject`. The keys of the hash table represent the properties necessary to unarchive an existing operator within `TOPdesk`, 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    \"id\": \"634206ca-6907-4914-8509-da55cfd8b35d\",\n    \"displayName\": \"Doe, John van der\",\n    \"archivingReasonId\" : \"73736b19-a69e-5e6b-b6af-ddc655fead0c\"\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 TOPdesk API Docs page](https://developers.topdesk.com/explorer/?page=supporting-files#/Operators/patchUnarchiveOperator)\n\n2. Creates authorization headers using the provided API key and secret.\n\n3. Unarchive an existing operator 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-topdesk-operatorunarchive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-topdesk-operatorunarchive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftools4everbv%2Fhelloid-task-sa-target-topdesk-operatorunarchive/lists"}