Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

HelloID - Group create

NotificationsYou must be signed in to change notification settings

Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupCreate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  • HelloID API key and secret
  • Pre-defined variables:portalBaseUrl,portalApiKey andportalApiSecret created in your HelloID portal.

Description

This code snippet will create a new group within HelloID and executes the following tasks:

  1. Define a hash table$formObject. The keys of the hash table represent the properties necessary to create a new group withinHelloID, while the values represent the values entered in the form.

To view an example of the form output, please refer to the JSON code pasted below.

{"name":"John Doe's Group","isEnabled":"true","isDefault":"false","userGuids": ["953d9fdb-e303-4c9a-8e97-7cae5c8c512b","a74295b1-75a4-403c-86b8-021494c7fb72"    ],"userNames": ["john.doe@enyoi.org","jane.doe@enyoi.org"    ],"applicationNames": ["Generic SAML Application","Generic OIDC Application"    ],"managedByUserGuid":"b27a9d33-d660-4f48-a338-e5013a688991","applicationGUIDs": ["6937b1f8-9294-45b7-a0ed-ccba3bcff325"    ]}

❗ 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.See the HelloID API Docs page

  1. Creates authorization headers using the provided API key and secret.

  2. Create a new 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.

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp