Set a user's company membership

Pass the full list of company IDs the user should belong to.
Companies left out of the list are removed.

Required permissions:

  • IsAuthenticated
  • WorkspaceRequired
  • HasRolePermissions::user_edit
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
company
array of integers
required
company*
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json
application/yaml