---
title: "Designated persons and delegations | Docs | REGES Gateway by R&D Copilot"
description: "Give people the right to prepare, approve and transmit for an employer, and keep that right current."
canonical: "https://reges.rdcopilot.com/docs/employers-and-access/designated-persons/"
language: en
updated: 2026-11-22
---

# Designated persons and delegations

Give people the right to prepare, approve and transmit for an employer, and keep that right current.

People act for an employer through access permissions. An access permission names its holder, the scopes it gives and the last day it is in force. A designated person is a person of the employer; a company that acts for the employer holds an access permission too, see [Service-provider mode](https://reges.rdcopilot.com/docs/employers-and-access/service-provider-mode/).

## Scopes

| Scope | Gives | Call |
| --- | --- | --- |
| `prepare` | Prepare register operations as drafts. | `prepareOperation` |
| `approve` | Approve a validated operation. Never the person who prepared it. | `authorizeOperation` |
| `transmit` | Transmit an approved operation with the employer’s access and record the transmission. | `submitOperation` |

Each of the three calls carries the `id` of the person as `designatedPerson`: the `holder.id` of the access permission. An access permission holds one or more scopes.

Four eyes

The person who approves is never the person who prepared the operation: the answer is `same_person`. Give `prepare` and `approve` to different people.

## Add an access permission

Send the holder by name, the scopes and the last day. A holder who already has an access permission of the same kind in force for the employer is refused with `already_permitted`.

curl

```bash
curl -X POST "$RDC_BASE_URL/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "ea581ece-5cb0-4c45-a880-8fd96e7771da",
  "kind": "designated-person",
  "holder": "Ioana Marin",
  "scope": [
    "prepare"
  ],
  "expires": "2027-06-30"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "ea581ece-5cb0-4c45-a880-8fd96e7771da",
    "kind": "designated-person",
    "holder": "Ioana Marin",
    "scope": [
      "prepare"
    ],
    "expires": "2027-06-30"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'ea581ece-5cb0-4c45-a880-8fd96e7771da',
        'kind': 'designated-person',
        'holder': 'Ioana Marin',
        'scope': [
            'prepare',
        ],
        'expires': '2027-06-30',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "ea581ece-5cb0-4c45-a880-8fd96e7771da",
  "kind": "designated-person",
  "holder": "Ioana Marin",
  "scope": [
    "prepare"
  ],
  "expires": "2027-06-30"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "ea581ece-5cb0-4c45-a880-8fd96e7771da",
  "kind": "designated-person",
  "holder": "Ioana Marin",
  "scope": [
    "prepare"
  ],
  "expires": "2027-06-30"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "ea581ece-5cb0-4c45-a880-8fd96e7771da",
  "status": "accepted",
  "aggregateId": "05063715-5110-48cd-99e9-ba201af2edf9",
  "aggregateRevision": 1
}
```

## Read the access permissions

curl

```bash
curl "$RDC_BASE_URL/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions?limit=20" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions?limit=20`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions?limit=20',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions?limit=20');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/reges/v1/employers/6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0/permissions?limit=20");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 200

```json
{
  "items": [
    {
      "id": "2569be01-6d61-46a3-9671-1f6643e0ed2c",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "kind": "designated-person",
      "holder": {
        "id": "f3a70882-0da0-4686-bc0c-f29ce600bb0c",
        "name": "Elena Dumitru"
      },
      "scope": [
        "prepare"
      ],
      "expires": "2027-06-30",
      "status": "active",
      "revision": 1
    },
    {
      "id": "9e76128b-431e-42b4-8c89-a185d95774af",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "kind": "designated-person",
      "holder": {
        "id": "c403d6ca-4254-4be4-8781-6be8b95a3de0",
        "name": "Ana Rusu"
      },
      "scope": [
        "approve"
      ],
      "expires": "2027-06-30",
      "status": "active",
      "revision": 1
    },
    {
      "id": "e3ff1f7f-71ea-4e7e-ad3b-d570359c7dd5",
      "employerId": "6e2aa977-c041-49c3-8c57-b9f2cd6cf3f0",
      "kind": "designated-person",
      "holder": {
        "id": "b5192196-cb10-4857-a91d-e1eae8a64953",
        "name": "Maria Costea"
      },
      "scope": [
        "transmit"
      ],
      "expires": "2027-03-31",
      "status": "active",
      "revision": 1
    }
  ],
  "nextCursor": null
}
```

`status` says whether an access permission is in force.

| Status | Meaning |
| --- | --- |
| Active `active` | In force, and it ends in more than 30 days. |
| Expires soon `expires_soon` | In force, and it ends within 30 days. Extend it. |
| Expired `expired` | The end date has passed. The holder is stopped. |
| Revoked `revoked` | Ended on request. The holder is stopped. |

## Extend an access permission

Extending moves the end date to twelve months from today. Send the `revision` you read as `expectedRevision`. A revoked access permission is refused with `already_revoked`, and one that already runs that long with `already_extended`.

curl

```bash
curl -X POST "$RDC_BASE_URL/reges/v1/permissions/79bcdc71-0ab2-4594-913c-3919be3d41ed/extend" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "0f8bd4ec-3f52-4ca2-9fc9-54dab168e7cf",
  "expectedRevision": 1
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/permissions/79bcdc71-0ab2-4594-913c-3919be3d41ed/extend`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "0f8bd4ec-3f52-4ca2-9fc9-54dab168e7cf",
    "expectedRevision": 1
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/reges/v1/permissions/79bcdc71-0ab2-4594-913c-3919be3d41ed/extend',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '0f8bd4ec-3f52-4ca2-9fc9-54dab168e7cf',
        'expectedRevision': 1,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "0f8bd4ec-3f52-4ca2-9fc9-54dab168e7cf",
  "expectedRevision": 1
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/permissions/79bcdc71-0ab2-4594-913c-3919be3d41ed/extend');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/reges/v1/permissions/79bcdc71-0ab2-4594-913c-3919be3d41ed/extend");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "0f8bd4ec-3f52-4ca2-9fc9-54dab168e7cf",
  "expectedRevision": 1
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "0f8bd4ec-3f52-4ca2-9fc9-54dab168e7cf",
  "status": "accepted",
  "aggregateId": "79bcdc71-0ab2-4594-913c-3919be3d41ed",
  "aggregateRevision": 2
}
```

## Revoke an access permission

Revoking ends the access permission now. Operations already transmitted are not affected.

curl

```bash
curl -X POST "$RDC_BASE_URL/reges/v1/permissions/fda4ecc4-9e6f-4e7f-ab51-001cf3f61806/revoke" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "4f0548d4-b9a9-4d49-abca-de34badf775e",
  "expectedRevision": 1
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/reges/v1/permissions/fda4ecc4-9e6f-4e7f-ab51-001cf3f61806/revoke`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "4f0548d4-b9a9-4d49-abca-de34badf775e",
    "expectedRevision": 1
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/reges/v1/permissions/fda4ecc4-9e6f-4e7f-ab51-001cf3f61806/revoke',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': '4f0548d4-b9a9-4d49-abca-de34badf775e',
        'expectedRevision': 1,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "4f0548d4-b9a9-4d49-abca-de34badf775e",
  "expectedRevision": 1
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/reges/v1/permissions/fda4ecc4-9e6f-4e7f-ab51-001cf3f61806/revoke');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/reges/v1/permissions/fda4ecc4-9e6f-4e7f-ab51-001cf3f61806/revoke");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "4f0548d4-b9a9-4d49-abca-de34badf775e",
  "expectedRevision": 1
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "4f0548d4-b9a9-4d49-abca-de34badf775e",
  "status": "accepted",
  "aggregateId": "fda4ecc4-9e6f-4e7f-ab51-001cf3f61806",
  "aggregateRevision": 2
}
```

## When an access permission ends

A person whose access permission expired or was revoked is stopped at once: the next call that needs the scope is refused with `not_permitted` and nothing is changed. The `expires` day is the last day the access permission is in force.

Read `status` before a transmission and extend an access permission that is `expires_soon`. [Go-live checklist](https://reges.rdcopilot.com/docs/get-started/go-live-checklist/) lists what to confirm before the first real operation.
