[OPENAM-10306] Broken CREST delete realm endpoint Created: 29/Dec/16 Updated: 24/Jan/17 Resolved: 24/Jan/17 |
|
Status: | Closed |
Project: | OpenAM |
Component/s: | configurator |
Affects Version/s: | 14.0.0-M9 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Stein Myrseth | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Rank: | 1|hzsp7z: |
Description |
The folloeing statement used to work and is how to delete a sub realm according to documentation. Trying to delete realm named smartcity2. curl --silent --request DELETE --header 'iPlanetDirectoryPro: AQIC5wM2LY4SfcwCBfarSdhBJf63aSrbZR71srrZyDO4eag.*AAJTSQACMDEAAlNLABQtODI1NTI3NDM1OTg3Njc5MDYyOQACUzEAAA..*' --header 'Content-Type: application/json' http://myiot-am.forgerocklabs.net:8080/openam/json/realms/smartcity2 { "code": 404, "message": "Resource '\'''\'' not found", "reason": "Not Found" }' I see in the XUI the following endpoint with an internal identifier is used when sending a HTTP DELETE for the sub realm smartcity2:
http://myiot-am.forgerocklabs.net:8080/openam/json/global-config/realms/L3NtYXJ0Y2l0eTI
|