How to delete delegations in azure lighthouse through REST API

2023-06-19T12:16:26.2466667+00:00

Hi

We want to delete Azure lighthouse delegations through REST API. I found this link:
https://learn.microsoft.com/en-us/azure/lighthouse/how-to/remove-delegation

But it only shows how to do it through the portal, azure-cli or powershell. I have not found any info on how to do it through REST API. Does anybody know if this is an option, and if so how to do it?

Azure Lighthouse
Azure Lighthouse
An Azure service that provides secure managed services and access control for partners and customers.
79 questions
0 comments No comments
{count} votes

Accepted answer
  1. Stanislav Zhelyazkov 24,766 Reputation points MVP
    2023-06-19T13:26:43.6766667+00:00

    Hi,

    First you need to delete the assignment(s) and after that you can delete definitions. Either of these can be at resource group scope or subscription scope depending on how you have created them.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.