Delete a company

Changed on

Synchronously delete a company and its related data from an environment. Requires the write:entities API key scope or admin member access. By default, users that belong only to this company are also deleted; set deleteUsers to false to preserve them. Users that belong to other companies are always preserved.

delete/apps/{appId}/envs/{envId}/companies/{companyId}

Request

  • Base URL
    https://app.reflag.com/api
  • Auth
    HTTP bearer

Path parameters

appIdstring required

App identifier

envIdstring required

Environment identifier

companyIdstring required

Company ID within your application

Request body

deleteUsersboolean

Response

Company deleted successfully

object required

Changes