Role assignments

You can list the role assignments within a workspace, optionally filtered downto a specific scope inside of that workspace. If the scope isn't specified,the workspace will be considered the scope.

get/api/role/{workspace_id}/

Request

  • Base URL
    https://api.baserow.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.baserow.io/api/role/{workspace_id}/
  • Auth
    HTTP bearer

Path parameters

workspace_idinteger required

The workspace in which the role assignments are related to.

Query parameters

scope_idinteger

The id of the scope you are trying to get all roleassignments for.

scope_typestring

The type of scope you are trying to get all roleassignments for.

Response

idinteger required
rolestring required

The uid of the role assigned to the user or team in the given workspace.

subject_idinteger required

The subject ID.

scope_idinteger required

The unique scope ID.

subject_type'auth.User' | 'anonymous' | 'user_source.user' | 'core.Agent' | 'core.Token' | 'builder_preview_actor' | 'baserow_enterprise.Team' required
  • auth.User - auth.User
  • anonymous - anonymous
  • user_source.user - user_source.user
  • core.Agent - core.Agent
  • core.Token - core.Token
  • builder_preview_actor - builder_preview_actor
  • baserow_enterprise.Team - baserow_enterprise.Team
scope_type'core' | 'application' | 'workspace' | 'workspace_invitation' | 'snapshot' | 'workspace_user' | 'integration' | 'user_source' | 'mcp_endpoint' | 'database' | 'database_table' | 'database_field' | 'database_view' | 'database_view_decoration' | 'database_view_sort' | 'database_view_group' | 'database_view_filter' | 'database_view_filter_group' | 'token' | 'builder' | 'builder_page' | 'builder_element' | 'builder_domain' | 'builder_data_source' | 'builder_workflow_action' | 'dashboard' | 'dashboard_data_source' | 'dashboard_widget' | 'automation' | 'automation_workflow' | 'automation_node' | 'team' | 'team_subject' | 'license' required
  • core - core
  • application - application
  • workspace - workspace
  • workspace_invitation - workspace_invitation
  • snapshot - snapshot
  • workspace_user - workspace_user
  • integration - integration
  • user_source - user_source
  • mcp_endpoint - mcp_endpoint
  • database - database
  • database_table - database_table
  • database_field - database_field
  • database_view - database_view
  • database_view_decoration - database_view_decoration
  • database_view_sort - database_view_sort
  • database_view_group - database_view_group
  • database_view_filter - database_view_filter
  • database_view_filter_group - database_view_filter_group
  • token - token
  • builder - builder
  • builder_page - builder_page
  • builder_element - builder_element
  • builder_domain - builder_domain
  • builder_data_source - builder_data_source
  • builder_workflow_action - builder_workflow_action
  • dashboard - dashboard
  • dashboard_data_source - dashboard_data_source
  • dashboard_widget - dashboard_widget
  • automation - automation
  • automation_workflow - automation_workflow
  • automation_node - automation_node
  • team - team
  • team_subject - team_subject
  • license - license

Changes

    • info

      the endpoint scheme security UserSource JWT was removed from the API

    • info

      added to the / response property allOf list for the response status

    • info

      removed from the / response property allOf list for the response status

    • info

      removed the database_workflow_action enum value from the ///// response property for the response status

    • info

      added to the / response property allOf list for the response status

    • info

      removed from the / response property allOf list for the response status