Skip to content

DELETE AWS IoT SiteWise Portal and Project

0

Hello AWS People I want to delete the Portal I created on AWS Iot SiteWise. But I encountered the following error

InvalidParameterType
Expected params.portalId to be a string

UnknownError
Please remove the following which are still associated with the specified portalId: access policies, projects

Error deleting portal

So I logged on to the portal. And I tried to delete the project. But I encountered an error.

Error
Your project could not be deleted. Please remove the following which are still associated with the specified projectId: access policies

I am a project owner(IAM User). I can't see access policies anywhere. My IAM User has AWSIoTSiteWiseMonitorPortalAccess policy. What can I do to delete projects and portals? Please help me.

1 Answer
0
Accepted Answer

Hello.

How about trying to delete it from AWS CLI?
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotsitewise/list-access-policies.html
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotsitewise/delete-access-policy.html

aws iotsitewise list-access-policies
aws iotsitewise delete-access-policy --access-policy-id yyyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyy

Try running the AWS CLI from CloudShell.
https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html

EXPERT

answered 2 years ago

  • thank you so much. finally i deleted iot sitewise portal.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.