- Community Home
- >
- Software
- >
- HPE OneView
- >
- How to delete licence key with API
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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.
I am an HPE employee
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP