Created
March 9, 2023 16:08
-
-
Save JSONOrona/0c20e4886a21520e4fb8a0a64d3f6a00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST \ | |
-H "Content-Type: application/json" \ | |
-H "api-token: YOUR_API_TOKEN" \ | |
-d '{ | |
"name": "LDAP_USERNAME", | |
"email": "LDAP_EMAIL", | |
"password": "", | |
"authentication_type": "ldap", | |
"role_names": [ | |
"ROLE_NAME_1", | |
"ROLE_NAME_2" | |
] | |
}' \ | |
https://YOUR_CHEF_AUTOMATE_URL/api/v0/auth/users |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment