Update an Organization Member's Roles

Go to Product

Update a member's organization and team-level roles.

Options

Organization Id or Slug
The ID or slug of the organization the resource belongs to.
Member Id
The ID of the member to update.
Body

Request body which must comply to the following JSON Schema:

{
  "type" : "object",
  "properties" : {
    "orgRole" : {
      "type" : "string",
      "description" : "The organization role of the member. The options are:\n\n* `billing` - Can manage payment and compliance details.\n* `member` - Can view and act on events, as well as view most other data within the organization.\n* `manager` - Has full management access to all teams and projects. Can also manage\n        the organization's membership.\n* `owner` - Has unrestricted access to the organization, its data, and its\n        settings. Can add, modify, and delete projects and members, as well as\n        make billing and plan changes.\n* `admin` - Can edit global integrations, manage projects, and add/remove teams.\n        They automatically assume the Team Admin role for teams they join.\n        Note: This role can no longer be assigned in Business and Enterprise plans. Use `TeamRoles` instead.\n        ",
      "enum" : [ "billing", "member", "manager", "owner", "admin" ]
    },
    "teamRoles" : {
      "type" : "array",
      "description" : "\nConfigures the team role of the member. The two roles are:\n- `contributor` - Can view and act on issues. Depending on organization settings, they can also add team members.\n- `admin` - Has full management access to their team's membership and projects.\n```json\n{\n    \"teamRoles\": [\n        {\n            \"teamSlug\": \"ancient-gabelers\",\n            \"role\": \"admin\"\n        },\n        {\n            \"teamSlug\": \"powerful-abolitionist\",\n            \"role\": \"contributor\"\n        }\n    ]\n}\n```\n",
      "nullable" : true,
      "items" : {
        "type" : "object",
        "additionalProperties" : { }
      },
      "default" : [ ]
    }
  }
}
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • External Users:
  • User:
  • Role:
  • Role Name:
  • Id:
  • Email:
  • Name:
  • Org Role:
  • Pending:
  • Expired:
  • Flags:
  • Date Created:
  • Invite Status:
  • Inviter Name:
  • Teams:
  • Team Roles:
  • Roles:
  • Invite Link:
  • Is Only Owner:
  • Org Role List:
  • Team Role List:

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.