---
title: Delete Signer API
slug: api-marketplace/delete-signer-api
description: Learn how to delete a specific signer from a contract in the Signzy system with this informative document. Discover the API call requirements, including login and the access token for authorization. Find out the essential input parameters needed and learn
createdAt: 2023-02-28T10:42:52.000Z
---

## Introduction

Client can choose to delete a particular signer from a particular contract created earlier in the Signzy system. Parameters like contractId ,customerId and signerEmail are used to identify the particular signer of the contract to be deleted.

## How to call the API

You will need to log in before sending the request. You are required to pass the access token received from the login call, as the authorization header in the request.

## API Input Guidelines

Need to pass follow information

### Sample Curl

::::Tabs
:::Tab{title="Preproduction"}
```curl
curl --location --request POST 'https://contracting-preproduction.signzy.tech/api/contractdetails/deleteSigner' \
--header 'Authorization: <Auth Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
        "contractId": "..contractId..",
        "customerId": "..customerId..",
        "signerId" : "..signerId.."
    }'

```
:::

:::Tab{title="Production"}
```curl
curl --location --request POST 'https://contracting.signzy.tech/api/contractdetails/deleteSigner' \
--header 'Authorization: <Auth Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
        "contractId": "..contractId..",
        "customerId": "..customerId..",
        "signerId" : "..signerId.."
    }'

```
:::
::::

### Input Parameters

| **PARAMETERS** | **DESCRIPTION**                           | **REQUIRED/OPTIONAL** |
| -------------- | ----------------------------------------- | --------------------- |
| contractId     | Unique Id of the contract                 | Required              |
| customerId     | Unique Id of the customer                 | Required              |
| signerId       | Unique ID created per signer per contract | Required              |

### Sample Response

```json
{
    "deleteSignerResponse": "SUCCESS"
}
```

### Response Parameter

| **PARAMETERS**       | **DESCRIPTION**                                                                                      |
| -------------------- | ---------------------------------------------------------------------------------------------------- |
| deleteSignerResponse | status response of particular signer deletion from the contract created earlier in the Signzy system |

## Sample Error

:::CodeblockTabs
400

```json
{
  "type": "Error",
  "status": 400,
  "code": "Invalid Customer Id",
  "statusCode": 400
}
```

400

```json
{
  "type": "Error",
  "status": 400,
  "code": "Invalid Contract Id",
  "statusCode": 400
}
```

400

```json
{
  "type": "Error",
  "status": 400,
  "code": "Invalid Signer Id",
  "statusCode": 400
}
```

401

```json
{
    "error": {
        "statusCode": 401,
        "name": "Error",
        "message": "Authorization failed"
    }
}
```

500

```json
{
    "error": {
        "name": "Error",
        "message": "Internal Server Error",
        "statusCode": 500
    }
}
```
:::

### Error Parameter

| **PARAMETER NAME** | **DESCRIPTION**                    |
| ------------------ | ---------------------------------- |
| error              | This parameter contains the error. |
| error.statusCode   | Request Status code from Signzy    |
| error.name         | the name of the error              |
| error.message      | the error message                  |
| type               | type of the error                  |

### Error Codes

| **CODE** | **DESCRIPTION**       | **INTERPRETATION**                                                   |
| -------- | --------------------- | -------------------------------------------------------------------- |
| 400      | Bad Request           | Input Parameter has a missing required parameter or not a valid one. |
| 401      | Authorization Failed  | Authorization token is invalid.                                      |
| 500      | Internal Server Error | Internal error at Signzy, please contact support.                    |





:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](#).
:::

