An Azure service that automates the access and use of data across clouds without writing code.
To disable a Power BI subscription via the API, you should ensure that you are using the correct endpoint and method. The typical endpoint for disabling a subscription is:
POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/subscriptions/{subscriptionId}/disable
Make sure that you replace {groupId} and {subscriptionId} with the actual IDs you have retrieved. Note that the correct action is to use /disable at the end of the URI, not /disabled.
If you continue to receive a 404 error, verify the following:
- Ensure that the subscription ID and group ID are valid and exist in your Power BI environment.
- Check that you have the necessary permissions to disable the subscription.
- Confirm that the subscription is not already disabled or deleted.
If these checks do not resolve the issue, consider reviewing the API documentation for any updates or changes regarding subscription management.
References: