Shared Users
Add a team member
POSTaccount/sharedUsers
Adds a user to the list of shared users based on their email address. If the given email address is not associated with a GoSquared account then they will be invited to create an account and gain access to the shared project.
Note: Only API keys generated by the project owner have permission to be used with this endpoint.
POST Body
StringRequired A valid email address | |
role | StringDefault Value: Accepted values: |
notify | BooleanDefault Value: Whether to send an invite/notification email to the invitee or not. |
Example Request
require 'gosquared'
gs = Gosquared::RubyLibrary.new('demo','GSN-106863-S')
gs.account.sharedUsers
gs.account.post
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Remove a team member
DELaccount/sharedUsers
Remove a user from a specific project so that they no longer have to access it.
Note: Only API keys generated by the project owner have permission to be used with this endpoint.
Query String Parameters
StringRequired A valid email address |
Example Request
require 'gosquared'
gs = Gosquared::RubyLibrary.new('demo','GSN-106863-S')
gs.account.sharedUsers
gs.account.del
Live Responseundefined undefined
Your API Key is not authorised for this endpoint