Overview
Sources
Libraries
Images API

Source State

The state of a source defines if it is working and ready to process images, or on the other hand if it is disabled and inaccessible.

Sources by default are created with state enabled. Enabled sources are those ready to access requests and process images.

How to disable a source

It's possible to disable a source as a previous step before deleting it. A source can only be disabled after its creation.

Warning: before disabling a source please check that it's not in use in production or you can break your application with images that are not accessible.

Follow these steps to disable a source:

  1. On imglab go to Sources section and click on the source that you want to disable.
  2. Once inside the details view of the source see the State section and click on Disable Source button.
  3. Click Accept button on the dialog.

If necessary you can click on Enable Source button to return the source to its enabled state.

Once the source is disabled every new request trying to use that source will return a 404 Source not found error.

How to delete a source

Once that a source has been disabled it is possible to delete it.

Warning: once a source is deleted is not possible to recover it and its data and configuration is lost.

Follow these steps to delete a source:

  1. On imglab go to Sources section and click on the source that you want to delete.
  2. Confirm that the source has been disabled, if it has not been disabled yet please follow the steps on previous section.
  3. Once the source has been disabled you will see on the source details view a Danger Zone section, click on Delete Source button.
  4. Click Accept button on the dialog.