- Community Home
- >
- Software
- >
- HPE OneView
- >
- How to delete licence key with API
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2015 11:54 PM - edited 11-03-2015 11:56 PM
11-03-2015 11:54 PM - edited 11-03-2015 11:56 PM
How to delete licence key with API
We just added our AKA licence to OneView and have problems with a couple of servers.
We get this message in OneView:
Delete the license key from the appliance using the license delete API (DELETE /rest/licenses/252). Verify iLO connectivity and refresh the server hardware to license it
So.. Where do i paste in the "DELETE /rest/licenses/252" ?
I have downloaded the powershell library and are looking at some samples, but none of them use codes similar to "DELETE /rest/licenses/252"
I have also found this page:
But still.. Where and how do I enter the code?
Thanks for any help!
- Tags:
- License
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2015 12:11 AM
11-04-2015 12:11 AM
Re: How to delete licence key with API
Update: I got some help from a colleague and we downloaded "Request Maker" from Chrome Web Store.
We then sended a DELETE command like this:
DELETE https://SERVERURL/rest/licenses/252
And in the sourcecode after, we get this message:
{"errorCode":"DELETE_LICENSE_OPERATION_NOT_SUPPORTED","data":{},"details":"","errorSource":null,"nestedErrors":[],"recommendedActions":["Ensure the license resource is not in use."],"message":"Unable to delete the license resource as it is already in use."}
I have added a couple of screenshot showing the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2015 01:26 PM - edited 11-04-2015 01:27 PM
11-04-2015 01:26 PM - edited 11-04-2015 01:27 PM
Re: How to delete licence key with API
There is a Remove-HPVLicense PowerShell CMDLET that could help you. If you wanted to use the PowerShell library and issue the API call as is, use "Send-HPOVRequest /rest/licenses/{id} delete" as your command.
The error response you see indicates one or more licenses have been allocated from the pool. The only way to resolve this is o contact HPE Support, and elevate to Level 2.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2018 05:08 AM
12-17-2018 05:08 AM
Re: How to delete licence key with API
Hello everyone,
We had same errors appearing spontaneously on several servers and efuse seems to resolve the problem for us.