---
title: "Update an existing auto-wiring configuration"
method: PATCH
path: "/api/usages/configuration/{id}"
tags: ["Usage Configuration"]
---

# Update an existing auto-wiring configuration

`PATCH /api/usages/configuration/{id}`

## Request

- Base URL: `https://api.atono.io`
- URL: `https://api.atono.io/api/usages/configuration/{id}`
- Auth: API key in header `X-API-KEY`

## Path parameters

- `id` string, uuid, required

## Request body

- RequestUsageConfigurationResourceUpdate
  - `data` UsageConfigurationResourceUpdate, required
    - `type` string, required: Identifies the type of resource.
    - `id` string, required: The unique identifier for the resource, typically a UUID.
    - `attributes` UsageConfigurationResourceUpdateAttributes: Contains the structured data fields that describe the resource, such as properties, settings, and timestamps.
      - `eventSource` object, nullable: Event source identifier
    - `relationships` UsageConfigurationResourceUpdateRelationships: Contains references to other related resources.
      - `backlogItem` SingleRelationshipUpdate
        - `data` ResourceIdentifier, required
          - `type` string, required: Identifies the type of the linked resource.
          - `id` string, required: The unique identifier of the linked resource.

## Response `200`

The updated auto-wiring configuration

- UsageConfigurationResource
  - `type` string: Identifies the type of resource.
  - `id` string: The unique identifier for the resource, typically a UUID.
  - `attributes` UsageConfigurationResourceAttributes: Contains the structured data fields that describe the resource, such as properties, settings, and timestamps.
    - `eventSource` unknown
    - `createdAt` string, date-time: The date and time this configuration was created
    - `updatedAt` string, date-time: The date and time this configuration was last updated
  - `relationships` UsageConfigurationResourceRelationships: Contains references to other related resources.
    - `backlogItem` SingleRelationship
      - `links` RelationshipLinks, required
        - `self` string, uri, nullable, required
        - `related` string, uri, nullable, required
      - `data` ResourceIdentifier, required
        - `type` string, required: Identifies the type of the linked resource.
        - `id` string, required: The unique identifier of the linked resource.
      - `meta` unknown, required
    - `creator` SingleRelationship
      - `links` RelationshipLinks, required
        - `self` string, uri, nullable, required
        - `related` string, uri, nullable, required
      - `data` ResourceIdentifier, required
        - `type` string, required: Identifies the type of the linked resource.
        - `id` string, required: The unique identifier of the linked resource.
      - `meta` unknown, required

## Other responses

- `400`: Invalid configuration provided
- `404`: Configuration not found

---

[API](https://skmtc.dev/atono/apis/backend-api.md) · [All operations](https://skmtc.dev/atono/apis/backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atono/apis/backend-api/revisions/78a57b1d8c3d?raw)
