---
title: "Patch Removal Components"
method: PATCH
path: "/removals/{id}/component_attributions"
deprecated: true
---

# Patch Removal Components

`PATCH /removals/{id}/component_attributions`

> **Deprecated.**

Change component attributions for the removal.

## Path parameters

- `id` string, required

## Headers

- `x-client-secret` string, required — A secret token identifying the client connecting to the API

## Request body

- PatchRemovalComponentAttributionsRequest
  - `components_to_add` union — Components to be attributed to Removal.
    - ComponentToAttribute[]
      - `component_id` string, required — ID of the component to add to the removal.
      - `component_group_key` string, required — Key of a component group that this component should be applied to in the removal. The keys of the component groups are the same as the keys of removal template component groups they have been used to create them and they are consistent between projects using the same protocol.
      - `attribution_factor` number — A float in range of (0, 1] for the fraction of the CO2e flux of the component that is to be attributed to this removal. 1.0 means all of the component should be attributed. If not supplied, defaults to 1.0.
    - Undefined — An explicit representation of an undefined value in the Isometric REST API. Used, for example, to distinguish between explicit null inputs that clear a property, and not provided inputs which leave the property as is.
      - `__typename` 'Undefined' — Contains the name of the model (formally, OpenAPI Schema Object). Used to determine the type of data, for example when two different types are unioned.
  - `components_to_remove` union — Components to be fully removed from Removal.
    - string[]
    - Undefined — An explicit representation of an undefined value in the Isometric REST API. Used, for example, to distinguish between explicit null inputs that clear a property, and not provided inputs which leave the property as is.
      - `__typename` 'Undefined' — Contains the name of the model (formally, OpenAPI Schema Object). Used to determine the type of data, for example when two different types are unioned.

## Response `200`

Successful Response

- Removal
  - `id` string, required
  - `supplier_reference_id` string, nullable, required — A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.
  - `started_on` string, date, required
  - `completed_on` string, date, required
  - `co2e_net_removed_kg` number, required — The CO₂e removed by this removal once uncertainty discounting has been applied
  - `co2e_net_removed_without_discount_kg` number, required — The CO₂e removed by this removal before any uncertainty discounting has been applied
  - `co2e_net_removed_standard_deviation_kg` number, nullable, required — The standard deviation of the CO₂e net removed and therefore the uncertainty discount applied to the removal
  - `ghg_statement_id` string, nullable, required — The GHG statement ID that this removal is associated with. If null, the removal is in draft and has not been submitted for verification.
  - `feedstock_type_id` string, nullable, required — The feedstock type ID that this removal is associated with.
  - `risk_of_reversal_percentage` number, nullable, required — The percentage of credits contributed to the buffer pool due to risk of reversal.
  - `credit_allocation` CreditAllocation, required
    - `buffer_pool_contribution_kg` integer, required — The number of credits (in kg CO₂e) contributed to the buffer pool, computed as risk_of_reversal_percentage × total issuable credits.
    - `supplier_allocation_kg` integer, required — The number of credits (in kg CO₂e) issued to the supplier, computed as total issuable credits minus buffer pool contribution.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/isometric/apis/isometric-certify-data-ingestion-api.md) · [All operations](https://skmtc.net/isometric/apis/isometric-certify-data-ingestion-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/isometric/isometric-certify-data-ingestion-api/versions/9819e9c8ccf0/schema)
