---
title: "POST /v2/delete-service-function-resources"
method: POST
path: "/v2/delete-service-function-resources"
---

# POST /v2/delete-service-function-resources

`POST /v2/delete-service-function-resources`

Removes resources from a service function.

## Request body

- object
  - `serviceArn` string, required — ARN identifier.
  - `serviceFunctionId` string, required — The identifier of the service function to remove resources from.
  - `resources` String[], required — The list of resources to remove from the service function.

## Response `200`

Success

- DeleteServiceFunctionResourcesResponse
  - `serviceArn` string — ARN identifier.
  - `serviceFunctionId` string — The identifier of the service function.
  - `resources` String[] — The list of resources that were removed.

## Other responses

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

---

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