[RTFACT-12336] Support REST API call that regenerates API key Created: 24/Aug/16  Updated: 14/Nov/17  Resolved: 31/Aug/16

Status: Resolved
Project: Artifactory Binary Repository
Component/s: REST API
Affects Version/s: 4.11.0
Fix Version/s: 4.13.0

Type: New Feature Priority: Normal
Reporter: Sable Yemane (Inactive) Assignee: Nadav Yogev
Resolution: Fixed Votes: 1
Labels: None

Sprint: Leap 6

 Description   

Need to add support for REST API call to regenerate an API key for existing users in the following manner:
For the following API:

POST /api/security/apiKey

In case a user already has an API key, he should not receive an error.
The expected behaviour is to generate a new key instead of the existing one.



 Comments   
Comment by Roy Zanbel (Inactive) [ 31/Aug/16 ]

This is support by using a PUT method.

PUT /api/security/apiKey

This will revoke existing api key and create a new one.

Generated at Sun Jan 19 11:27:18 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.