Hello Team,
Could you please let me know the API to create users in Delphix Engine and in Masking Engine.
Could you please let me know the API to create users in Delphix Engine and in Masking Engine.
-
602 Points
Posted 11 months ago
-
5,244 Points
Hi Pankaj,
Use POST methode with this uri http://DE/resources/json/delphix/user
Passe this code to it
{
"type": "User",
"name": "demo",
"authenticationType": "NATIVE",
"credential": {
"type": "PasswordCredential",
"password": "demo"
}
}
Regards,
Mouhssine
Use POST methode with this uri http://DE/resources/json/delphix/user
Passe this code to it
{
"type": "User",
"name": "demo",
"authenticationType": "NATIVE",
"credential": {
"type": "PasswordCredential",
"password": "demo"
}
}
Regards,
Mouhssine
-
602 Points
Could you please give me one CURL request to add the user in Delphix Engine or in Masking Engine?
nothing is given in doc
Please help me
nothing is given in doc
Please help me
-
602 Points
Could you please give me one CURL request to add the user in Delphix Engine or in Masking Engine?
nothing is given in doc
Please help me
nothing is given in doc
Please help me
-
5,244 Points
Hi Pankaj,
curl -X POST -k --data @- http://<engineaddr>/resources/j... \
-b cookies.txt -H "Content-Type: application/json" <<EOF
{
"type": "User",
"name": "demo",
"authenticationType": "NATIVE",
"credential": {
"type": "PasswordCredential",
"password": "demo"
}
}
EOF
Regards,
Mouhssine
curl -X POST -k --data @- http://<engineaddr>/resources/j... \
-b cookies.txt -H "Content-Type: application/json" <<EOF
{
"type": "User",
"name": "demo",
"authenticationType": "NATIVE",
"credential": {
"type": "PasswordCredential",
"password": "demo"
}
}
EOF
Regards,
Mouhssine
Related Categories
-
Delphix Masking
- 206 Conversations
- 65 Followers
-
API/Python/Open-Source Solutions
- 191 Conversations
- 4 Followers
Rajesh
Thanks forr your reply..But could you please tell me how to pass the code in above URL??
Sample : have done in browser
https://DOMAIN/resources/json/delphix/user/%7B%20%22type%22:%20%22User%22,%20%22name%22:%20%22dem...
it will great if you tell me how to do it with steps with browser or with CLI
Mouhssine SAIDI
Please find steps from CLI :
LandsharkEngine user create *> ls
Properties
type: User
name: (required)
authenticationType: (unset)
credential: (unset)
emailAddress: (unset)
enabled: true
firstName: (unset)
homePhoneNumber: (unset)
isDefault: (unset)
lastName: (unset)
locale: en-US
mobilePhoneNumber: (unset)
principal: (unset)
publicKey: (unset)
sessionTimeout: 30min
userType: DOMAIN
workPhoneNumber: (unset)
LandsharkEngine user create *> set name=demo
LandsharkEngine user create *> set authenticationType=NATIVE
LandsharkEngine user create *> commit
Regards,
Mouhssine
Rajesh
Could you please do we have option from browser also ?
From browser we could just see the list of users only , is it not possible to do add update delete operation from browser ?
Mouhssine SAIDI
You have to use API for this, you will find more detail about API and how to use it.
https://docs.delphix.com/docs/reference/web-service-api-guide/so-you-want-to-work-with-delphix-apis/...
https://docs.delphix.com/docs/reference/web-service-api-guide/so-you-want-to-work-with-delphix-apis
https://docs.delphix.com/docs/reference/web-service-api-guide/so-you-want-to-work-with-delphix-apis/...
Regards,
Mouhssine
Rajesh
nothing is given in doc