[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


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.

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 Wed Aug 12 01:49:39 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.