...
Code Block | ||
---|---|---|
| ||
curl --insecure -X POST "https://localhost:7443/eidm2/services/orgs/?username=restuser&password=secret&organizationId=6666666-6&friendlyName=TestOrganization" |
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X DELETE "https://localhost:7443/eidm2/services/org/6666666-6?username=restuser&password=secret&recursive=true" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X PUT "https://localhost:7443/eidm2/services/org/6666666-6/?username=restuser&password=secret&friendlyName=TestOrganizationRENAME" |
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X PUT "https://localhost:7443/eidm2/services/user/6666666-6/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/?username=restuser&password=secret&mobile=+358401234567891%2B358401234567891" |
Response Document
Code Block | ||
---|---|---|
| ||
<idlist> <Id>https://HOSTNAME/eidm2/services/user/example1/user1</Id> </idlist> |
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X POST "https://localhost:7443/eidm2/services/assignments/6666666-6/TestRole/?username=restuser&password=secret&user=6666666-6/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" |
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X DELETE "https://localhost:7443/eidm2/services/assignments/6666666-6/TestRole/?username=restuser&password=secret&user=6666666-6/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" |
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X PUT "https://localhost:7443/eidm2/services/role/6666666-6/TestRole?username=restuser&password=secret" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X DELETE "https://localhost:7443/eidm2/services/role/6666666-6/TestRole?username=restuser&password=secret" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X POST "https://localhost:7443/eidm2/services/users/6666666-6?username=restuser&password=secret&uid=leena&firstname=Leena&surname=Laine&email=leena.laine@example.com&pwd=Password1&loginuserprincipalname=leena.laine" |
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X DELETE "https://localhost:7443/eidm2/services/user/6666666-6/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/?username=restuser&password=secret" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X POST "https://localhost:7443/eidm2/services/init/?username=restuser&password=secret&resetRepository=true&initializeDatabase=true" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X PUT "https://localhost:7443/eidm2/services/users/6666666-6/?username=restuser&password=secret&disableUsers=true" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X GET "https://localhost:7443/eidm2/services/users/?username=restuser&password=secret&recursive=true" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X GET "https://localhost:7443/eidm2/services/user/6666666-6/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX?username=restuser&password=secret" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X GET "https://localhost:7443/eidm2/services/orgs/?username=restuser&password=secret&entities=true" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X GET "https://localhost:7443/eidm2/services/org/6666666-6/?username=restuser&password=secret" |
Response Document
...
Code Block | ||
---|---|---|
| ||
curl --insecure -X GET "https://localhost:7443/eidm2/services/role/6666666-6/TestRole/?username=restuser&password=secret&assignments=true" |
Response Document
...