It appears we don’t currently support creating external role mappings via the REST API (due to not including a source field) and at first glance I didn’t find an open ticket to add the functionality to the REST API. If you’d like this functionality added, please open a ticket on issues.sonatype.org against the “Dev - Nexus Repo (NEXUS)” project. That will help us track the requests for this functionality and may help get it prioritized.
mmartz
(Mmartz)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is it possible to create a SAML external role using the REST API? | 4 | 889 | August 17, 2022 | |
| Some questions about new API | 3 | 1876 | October 31, 2019 | |
| Nexus 3 | Create external user | 4 | 2417 | May 31, 2019 | |
| Cannot see Role as "Contained" after using it in LDAP Role mapping | 2 | 955 | December 11, 2018 | |
| Nothing happend vhen I click on "execue" on page 'API' : /v1/security/ldap Create LDAP server -- v: 3.56.0-01 | 0 | 764 | July 7, 2023 |