members
Update team members
Updates team members.
Returns {success: true} on success.
Only pass in the members you want to change.
Available roles:
- viewer - View-only access
- user - Standard member access
- manager - Team manager access
- remove - Removes user from team
Note: A team lead must have the manager role. Only organization owners or managers can adjust the lead option.
Batch size: Up to 150 members per request. Larger requests are rejected with HTTP 400 and code "too_many_members".
put/v2/teams/{team_id}/update_members
Request
- Base URLhttps://api.hubstaff.com
- AuthOAuth 2Authorization codehttps://account.hubstaff.com/authorizations/newToken URLhttps://account.hubstaff.com/access_tokensScopeshubstaff:read, hubstaff:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
team_idinteger required
Team ID
Request body
Response
Updated successfully
Changes
No recorded changes to this operation across all 1 revision of this API.