---
title: "Create a parent worker relation"
method: PUT
path: "/hris/worker_relations/profile/{hrisProfileOid}/parent"
tags: ["workerRelations"]
---

# Create a parent worker relation

`PUT /hris/worker_relations/profile/{hrisProfileOid}/parent`

## Request

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

Creates or replaces the parent worker relation for the HrisProfile. If a parent relation already exists for this profile, it is overwritten with the supplied data.

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

## Path parameters

- `hrisProfileOid` string, uuid, required

## Request body

- object
  - `data` HrisWorkerRelationsProfileHrisProfileOidParentPutRequestBodyContentApplicationJsonSchemaData
    - `id` string, uuid, required: The ID of the parent profile
    - `hris_relationship_type_id` string, uuid, required: The ID of the relationship type

## Response `204`

Successful operation

- 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)
