configurations

Bulk Delete Custom Codes

Changed on

Deletes custom codes in bulk for a given configuration.

Args: configuration_id (UUID): The ID of the configuration to modify. body (BulkDeleteCustomCodesInput): The input body containing IDs of the custom codes. user (DbUser): The logged-in user. db (AsyncDatabaseConnection): The database connection.

Raises: HTTPException: 404 if configuration can't be found HTTPException: 409 if configuration is not a draft and therefore not editable HTTPException: 500 if configuration can't be updated

Returns: ConfigurationCustomCodeResponse: The updated configuration

post/api/v1/configurations/{configuration_id}/custom-codes/bulk-delete

Request

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

Path parameters

configuration_id, string uuid required

Request body

BulkDeleteCustomCodesInput required

Input model for a bulk custom codes deletion request.

ids, string[] required

Response

Successful Response

CustomCodeResponse[] required
id, string uuid required
display, string required
code, string required
system_id, string uuid required
system_name, string required

Changes