Manage Users in GrantsConnect API
Users that can view or approve grants can be maintained within the GrantsConnect API without going directly into the system.
Add a new user to the system
New team members or users can be added by including them in a monthly HR file. They can also be manually added.
-
Call
POST api/client/v1/grantmanagerusers/userbyemailto determine if the user exists. If they do, auserIdwill be returned. -
If the user does not exist (i.e., no
userId), then callPOST api/client/v1/grantmanagerusers/addUserto add a new Grant Manager to the system.Note: Be sure to include the
JSONbody in the request to pass user information to the endpoint.
View the role currently assigned to a user
If a user is already available in the system, the roles to which they are assigned can be determined using the steps below.
-
Call
POST api/client/v1/grantmanagerusers/userbyemailto find the individual’suserId. -
Call
GET api/client/v1/grantmanagerusers/roles/{userId}to return a list of all roles associated with the givenuserId.
Assign a user to a specific role
If a user is not currently in a specific role, they can be assigned to it using the steps below.
-
Call
POST api/client/v1/grantmanagerusers/userbyemailto find the individual’suserId. -
Call
GET api/client/v1/rolesto retrieve a list of roles in the organization's account. -
Find the ID of the role (i.e.,
roleId) to use. -
Call
POST api/client/v1/roles/{roleId}/addUserToRole/{userId}to add theuserIdto theroleId.
Tip: If an existing user is assigned to the same role, retrieve the roleId assigned to them and then proceed with calling POST api/client/v1/roles/{roleId}/addUserToRole/{userId} to add the new user to this role.
Remove a user from a role
A user can be unassigned from a specific role using the steps below. Note that this does not delete the user from the system.
-
Call
POST api/client/v1/grantmanagerusers/userbyemailto find the individual’suserId. -
Call
GET api/client/v1/grantmanagerusers/roles/{userId}to return a list of all roles associated with the givenuserId. -
Call
DELETE api/client/v1/roles/{roleId}/removeUserFromRole/{userId}to remove thisuserIdfrom the specifiedroleId.
Offboard and deactivate a user
In the instance that an employee leaves the organization or is no longer associated with the account, the steps below can be used to offboard them from the GrantsConnect system.
-
Call
POST api/client/v1/grantmanagerusers/userbyemailto find the individual’suserId. -
Call
GET api/client/v1/grantmanagerusers/roles/{userId}to return a list of all roles associated with the givenuserId. -
Call
DELETE api/client/v1/roles/{roleId}/removeUserFromRole/{userId}to remove thisuserIdfrom the specifiedroleId.Note: Do this for every role to which the user is assigned.
-
If the user has access to any workflow levels, refer to the Update or remove a user from workflows instructions to remove them from each workflow.
Although this removes the user from all roles and workflows, they will need to be manually deactivated in GrantsConnect. An API endpoint is not currently available to formally deactivate users.