---
title: "Delete an account relationship"
method: DELETE
path: "/accounts/{account_id}/relationships/{relationship_id}"
tags: ["accounts"]
---

# Delete an account relationship

`DELETE /accounts/{account_id}/relationships/{relationship_id}`

Deletes an account relationship by ID.

**Rate limit:** 20 requests per minute

## Path parameters

- `account_id` string, required
- `relationship_id` string, required

## Response `200`

- DeleteAccountRelationshipResponseBody
  - `data` AccountRelationship
    - `child_account_id` string — The ID of the account on the child or client side of the relationship.
    - `created_at` string — The creation time of the relationship.
    - `id` string — The ID of the relationship.
    - `parent_account_id` string — The ID of the account on the parent or partner side of the relationship.
    - `related_object_id` string — The ID of the related parent or partner account.
    - `relationship_type` string — The relationship type. One of "parent_account" or "partner_account".
    - `updated_at` string — The time the relationship was last updated.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `404`
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/484a11d5ddb2/schema)
