- Notifications
You must be signed in to change notification settings - Fork0
Tools4everBV/HelloID-Task-SA-Target-HelloID-GroupCreate
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- HelloID API key and secret
- Pre-defined variables:
portalBaseUrl
,portalApiKey
andportalApiSecret
created in your HelloID portal.
This code snippet will create a new group within HelloID and executes the following tasks:
- 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
Creates authorization headers using the provided API key and secret.
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.
About
HelloID - Group create
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Contributors2
Uh oh!
There was an error while loading.Please reload this page.