---
title: "Renew a signing delegation"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.cloudraker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Renew a signing delegation

Path: CloudRaker Workspace API › Workspace Signing Delegations

`POST /signing/delegations/{id}/renew`

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `id` (`appRenewSigningDelegation.path.id`; string, required)

## Request body

_Required._

Explain why the signer receives a new consent request.

- `reason` (`appRenewSigningDelegation.reason`; string, required)
  - minLength 5; maxLength 1000

## Example request

```json
{
  "reason": "string"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.cloudraker.com/signing/delegations/<id>/renew' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "string"
}
'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/signing/delegations/<id>/renew';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({reason: 'string'})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/signing/delegations/<id>/renew"

payload = { "reason": "string" }
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

The current grant. Renewal requires a new human consent.

#### Example

```json
{
  "id": "string",
  "templateId": "string",
  "templateVersion": 0,
  "templateDigest": "string",
  "templateName": "string",
  "teamId": "string",
  "name": "string",
  "email": "string",
  "status": "pending",
  "createdAt": "string",
  "grantedAt": "string",
  "revokedAt": "string",
  "declinedAt": "string",
  "consentSentAt": "string",
  "signedCount": 0,
  "contestedCount": 0,
  "renewedFromId": "string",
  "allowedActions": [
    "resend"
  ]
}
```

- `id` (`appRenewSigningDelegation.response.200.id`; string, required)
- `templateId` (`appRenewSigningDelegation.response.200.templateId`; string, required)
- `templateVersion` (`appRenewSigningDelegation.response.200.templateVersion`; number | null, required)
- `templateDigest` (`appRenewSigningDelegation.response.200.templateDigest`; string | null, required)
- `templateName` (`appRenewSigningDelegation.response.200.templateName`; string, required)
- `teamId` (`appRenewSigningDelegation.response.200.teamId`; string | null, required)
- `name` (`appRenewSigningDelegation.response.200.name`; string, required)
- `email` (`appRenewSigningDelegation.response.200.email`; string, required)
- `status` (`appRenewSigningDelegation.response.200.status`; string, required)
  - one of `"pending"`, `"active"`, `"declined"`, `"revoked"`
- `createdAt` (`appRenewSigningDelegation.response.200.createdAt`; string, required)
- `grantedAt` (`appRenewSigningDelegation.response.200.grantedAt`; string | null, required)
- `revokedAt` (`appRenewSigningDelegation.response.200.revokedAt`; string | null, required)
- `declinedAt` (`appRenewSigningDelegation.response.200.declinedAt`; string | null, required)
- `consentSentAt` (`appRenewSigningDelegation.response.200.consentSentAt`; string | null, required)
- `signedCount` (`appRenewSigningDelegation.response.200.signedCount`; number, required)
- `contestedCount` (`appRenewSigningDelegation.response.200.contestedCount`; number, required)
- `renewedFromId` (`appRenewSigningDelegation.response.200.renewedFromId`; string | null, required)
- `allowedActions` (`appRenewSigningDelegation.response.200.allowedActions`; array<string>, required)
  - one of `"resend"`, `"revoke"`, `"renew"`


Source: https://docs.cloudraker.com/workspace/api/workspace-signing-delegations/app-renew-signing-delegation/index.md
