0

Accidentally gave myself API User permission set and now everywhere in salesforce I get salesforce.com/secur/NoAccess.jsp

is there any way to overcome it consideringI have the only active Admin account?

2
  • You gave yourself a permission set or did you edit the profile? Can you simply delete it through workbench and some anonymous apex? you can also use the tooling api to pass anonymous apex that can run, find the permission set assignment, and delete it. Sep 22, 2019 at 18:05
  • If you clicked the checkbox of the API user then you can not use login.salesforce.com or test.salesforce.com. Try creating another user or get all metadata and create a fresh box Sep 23, 2019 at 2:32

1 Answer 1

0

Remove permission set assignments with the API this might help. Login to dataloader and use [SELECT AssigneeId, Assignee.name,Id,PermissionSetId,PermissionSet.name FROM PermissionSetAssignment] to identify yourself.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .