Edit User Permission

Update permission for a user

Feature - A Feature represents a specific functionality like Email campaign, Deals, Calls, Automations, etc. on Brevo. While inviting a user, determine which feature you want to manage access to. You must specify the feature accurately to avoid errors.

Permission - A Permission defines the level of access or control a user has over a specific feature. While inviting user, decide on the permission level required for the selected feature. Make sure the chosen permission is related to the selected feature.

Features and their respective permissions are as below:

  • email_campaigns:
    • "create_edit_delete"
    • "send_schedule_suspend"
  • sms_campaigns:
    • "create_edit_delete"
    • "send_schedule_suspend"
  • contacts:
    • "view"
    • "create_edit_delete"
    • "import"
    • "export"
    • "list_and_attributes"
    • "forms"
  • templates:
    • "create_edit_delete"
    • "activate_deactivate"
  • workflows:
    • "create_edit_delete"
    • "activate_deactivate_pause"
    • "settings"
  • facebook_ads:
    • "create_edit_delete"
    • "schedule_pause"
  • landing_pages:
    • "all"
  • transactional_emails:
    • "settings"
    • "logs"
  • smtp_api:
    • "smtp"
    • "api_keys"
    • "authorized_ips"
  • user_management:
    • "all"
  • sales_platform:
    • "manage_owned_deals_tasks"
    • "manage_others_deals_tasks"
    • "reports"
    • "settings"
  • phone:
    • "all"
  • conversations:
    • "access"
    • "assign"
    • "configure"
  • senders_domains_dedicated_ips:
    • "senders_management"
    • "domains_management"
    • "dedicated_ips_management"
  • push_notifications:
    • "view"
    • "create_edit_delete"
    • "send"
    • "settings"
  • companies:
    • "manage_owned_companies"
    • "manage_other_companies"
    • "settings"

Note:

  • The privileges array remains the same as in the send invitation; the user simply needs to provide the permissions that need to be updated.
  • The availability of feature and its permission depends on your current plan. Please select the features and permissions accordingly.

Options

Body
Values to create an invitation

Request body which must comply to the following JSON Schema:

{
  "required" : [ "all_features_access", "email", "privileges" ],
  "type" : "object",
  "properties" : {
    "email" : {
      "type" : "string",
      "description" : "Email address for the organization",
      "format" : "email",
      "example" : "inviteuser@example.com"
    },
    "all_features_access" : {
      "type" : "boolean",
      "description" : "All access to the features",
      "example" : true,
      "enum" : [ true, false ]
    },
    "privileges" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "feature" : {
            "type" : "string",
            "description" : "Feature name",
            "example" : "email_campaigns",
            "enum" : [ "email_campaigns", "sms_campaigns", "contacts", "templates", "workflows", "facebook_ads", "landing_pages", "transactional_emails", "smtp_api", "user_management", "sales_platform", "phone", "conversations", "senders_domains_dedicated_ips", "push_notifications", "companies" ]
          },
          "permissions" : {
            "type" : "array",
            "description" : "Permissions for a given feature",
            "items" : {
              "type" : "string",
              "example" : "'create_edit_delete', 'send_schedule_suspend'",
              "enum" : [ "create_edit_delete", "send_schedule_suspend", "view", "import", "export", "list_and_attributes", "forms", "activate_deactivate", "activate_deactivate_pause", "settings", "schedule_pause", "all", "logs", "access", "assign", "configure", "manage_owned_deals_tasks", "manage_others_deals_tasks", "manage_owned_companies", "manage_others_companies", "reports", "senders_management", "domains_management", "dedicated_ips_management", "send", "smtp", "api_keys", "authorized_ips", "none" ]
            }
          }
        },
        "description" : "Privileges given to the user",
        "example" : [ {
          "feature" : "email_campaigns",
          "permissions" : [ "create_edit_delete", "send_schedule_suspend" ]
        }, {
          "feature" : "sms_campaigns",
          "permissions" : [ "create_edit_delete", "send_schedule_suspend" ]
        }, {
          "feature" : "facebook_ads",
          "permissions" : [ "create_edit_delete", "schedule_pause" ]
        } ]
      }
    }
  }
}
Result Format

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

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.