---
title: "Delete a worker relation by external id"
method: DELETE
path: "/hris/worker_relations/profile/external/{profileId}"
tags: ["workerRelations"]
---

# Delete a worker relation by external id

`DELETE /hris/worker_relations/profile/external/{profileId}`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/hris/worker_relations/profile/external/{profileId}`
- Auth: HTTP bearer

Removes the worker relation identified by the given external ID. This operation removes all hierarchical associations (parent and child) linked to that relation.

 **Token scopes**: `profile:write`

## Path parameters

- `profileId` string, required

## Response `204`

Successfully deleted

- object

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Operation failed.

---

[API](https://skmtc.dev/deel/apis/hris-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/hris-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/hris-endpoints/revisions/b7b456c45a40?raw)
