Deprovision an app user

Changed on

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Removes a person's access to this app, including their app user if they've already signed in. Call it with a personal access token whose owner can edit the app, or with a workspace API key that has the Provision app users permission. Limited to 120 requests a minute per app, shared with provisioning. Higher plans get a higher limit.

delete/api/apps/{app_id}/users/provisions

Request

  • Base URL
    https://app.base44.com
  • URL
    https://app.base44.com/api/apps/{app_id}/users/provisions
  • Auth
    • HTTP bearer
    • or API key in header api_key
    • or HTTP bearer

Path parameters

app_idstring required

ID of the app.

Request body

emailstring email required

The app user's email

Response

Successful Response

status'deleted' required

Always deleted.

emailstring required

The email, lowercased.

Example response

{
  "status": "deleted",
  "email": "dana@example.com"
}

Changes

    • info

      the endpoint scheme security WorkspaceApiKeyBearerAuth was added to the API

    • info

      the security scope app_users:provision was added to the endpoint's security scheme WorkspaceApiKeyAuth

    • info

      the security scope full_access was added to the endpoint's security scheme PersonalAccessTokenAuth