Can you assign admin permissions to an API token t...
# ask-stanley-ai
r
Can you assign admin permissions to an API token that allows you to GET the employee record of a NetSuite admin and avoid the error "Error while accessing a resource. For security reasons, only an administrator is allowed to edit an administrator record."
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, it seems that you cannot assign admin permissions to an API token that allows you to GET the employee record of a NetSuite admin. The error message "Error while accessing a resource. For security reasons, only an administrator is allowed to edit an administrator record." indicates that only an administrator can edit an administrator record. This is a security measure to prevent unauthorized changes to administrator records. However, an API token can be assigned to a role with the permission
Setup > User Access Tokens
or
Setup > Log in using Access Tokens
. This allows the user with that role to create tokens as well as login with one. But, the employee would definitely need access and tie up a license. Remember, when you give access to employees, they also need a password setting and confirming. This will then allow you to migrate the data over. With Administrators, there is a limitation so you cannot be kicked out of the system by another admin. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841684043
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837736905
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836373687
Please provide your feedback on this answer.