---
title: "PUT /batch-disassociate-resources-from-custom-line-item"
method: PUT
path: "/batch-disassociate-resources-from-custom-line-item"
---

# PUT /batch-disassociate-resources-from-custom-line-item

`PUT /batch-disassociate-resources-from-custom-line-item`

Disassociates a batch of resources from a percentage custom line item.

## Request body

- object
  - `TargetArn` string, required — A percentage custom line item ARN to disassociate the resources from.
  - `ResourceArns` CustomLineItemAssociationElement[], required — A list containing the ARNs of resources to be disassociated.
  - `BillingPeriodRange` object — The billing period range in which the custom line item request will be applied.
    - `InclusiveStartBillingPeriod` string — The inclusive start billing period that defines a billing period range where a custom line is applied.
    - `ExclusiveEndBillingPeriod` string — The inclusive end billing period that defines a billing period range where a custom line is applied.

## Response `200`

Success

- BatchDisassociateResourcesFromCustomLineItemOutput
  - `SuccessfullyDisassociatedResources` DisassociateResourceResponseElement[] — A list of <code>DisassociateResourceResponseElement</code> for each resource that's been disassociated from a percentage custom line item successfully.
    - `Arn` string — The resource ARN that was disassociated from the custom line item.
    - `Error` object — An <code>AssociateResourceError</code> that's shown if the resource disassociation fails.
      - `Message` string — The reason why the resource association failed.
      - `Reason` 'INVALID_ARN' | 'SERVICE_LIMIT_EXCEEDED' | 'ILLEGAL_CUSTOMLINEITEM' | 'INTERNAL_SERVER_EXCEPTION' | 'INVALID_BILLING_PERIOD_RANGE' — A static error code that's used to classify the type of failure.
  - `FailedDisassociatedResources` DisassociateResourceResponseElement[] — A list of <code>DisassociateResourceResponseElement</code> for each resource that failed disassociation from a percentage custom line item.
    - `Arn` string — The resource ARN that was disassociated from the custom line item.
    - `Error` object — An <code>AssociateResourceError</code> that's shown if the resource disassociation fails.
      - `Message` string — The reason why the resource association failed.
      - `Reason` 'INVALID_ARN' | 'SERVICE_LIMIT_EXCEEDED' | 'ILLEGAL_CUSTOMLINEITEM' | 'INTERNAL_SERVER_EXCEPTION' | 'INVALID_BILLING_PERIOD_RANGE' — A static error code that's used to classify the type of failure.

## Other responses

- `480` — ConflictException
- `481` — ThrottlingException
- `482` — AccessDeniedException
- `483` — ValidationException
- `484` — InternalServerException
- `485` — ResourceNotFoundException

---

[API](https://skmtc.net/aws/apis/billingconductor.md) · [All operations](https://skmtc.net/aws/apis/billingconductor/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/billingconductor/versions/2cc5849dea95/schema)
