roles

Un-assign a role from a list of users

Changed on

This is a business/enterprise only endpoint

post/roles/unassign

Request

  • Base URL
    https://budibase.app/api/public/v1
  • URL
    https://budibase.app/api/public/v1/roles/unassign
  • Auth
    API key in header x-budibase-api-key

Request body

builderboolean

Add/remove global builder permissions from the list of users.

adminboolean

Add/remove global admin permissions from the list of users.

userIdsstring[] required

The user IDs to be updated to add/remove the specified roles.

Response

Returns a list of updated user IDs

Changes

    • breaking

      the request property type changed from object to boolean

    • breaking

      the request property type changed from object to boolean

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property /

    • warning

      removed the request property /

    • info

      added the new optional request property

    • info

      added the required property to the response with the status

    • info

      endpoint added