configurations

Deactivate Configuration

Changed on

Deactivate the specified configuration.

Args: configuration_id (UUID): ID of the configuration to update user (DbUser): The logged-in user logger (Logger): The standard application logger db (AsyncDatabaseConnection): Database connection

Raises: HTTPException: 400 if configuration can't be deactivated because of its current state HTTPException: 404 if configuration can't be found HTTPException: 500 if configuration can't be deactivated by the server

Returns: ConfigurationStatusUpdateResponse: Metadata about the activated condition for confirmation

patch/api/v1/configurations/{configuration_id}/deactivate

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

configuration_id, string uuid required

Response

Successful Response

ConfigurationStatusUpdateResponse required

Response model for updating the status a configuration.

configuration_id, string uuid required
status, 'draft' | 'inactive' | 'active' required

Changes

    • info

      added the optional property detail/items/ctx to the response with the status

    • info

      added the optional property detail/items/input to the response with the status

    • breaking

      removed the required property condition_canonical_url from the response with the status

    1 more change in this revision