Approve a pending cluster registration
POST
/license/pending-clusters/{cluster_id}/approve
const url = 'https://shoehorn.example.com/api/v1/license/pending-clusters/example/approve';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shoehorn.example.com/api/v1/license/pending-clusters/example/approveBumps purchased_clusters by 1 and clears the pending row. The agent comes online on its next heartbeat (around 30 seconds). On Standard tier this adds €99/month to the subscription.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” cluster_id
required
string
Responses
Section titled “ Responses ”Approved
Media type application/json
object
purchased_clusters
required
Tenant’s purchased_clusters count after the bump.
integer
Example generated
{ "purchased_clusters": 1}No pending registration for that cluster_id