---
updatedAt: 2026-07-21T14:55:00.000Z
agentTools:
  projectIndex: https://docs.sikoia.com/llms.txt
---

# Delete a shared secret

### Deletes a secret key used to sign webhook requests.

Please note that this action cannot be undone. Webhooks will continue to be sent without a secret - they will just not include the `X-HMAC-SHA256-Signature` header for verification purposes.

Please note that this action cannot be undone. Webhooks will continue to be sent without a secret - they will just not include the `X-HMAC-SHA256-Signature` header for verification purposes.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Sikoia API",
    "termsOfService": "https://sikoia.com/About/Terms",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.sikoia.com",
      "description": "API (Production)"
    },
    {
      "url": "https://oauth2.sikoia.com",
      "description": "Authorization Server (Production)"
    },
    {
      "url": "https://api-staging.sikoia.com",
      "description": "API (Staging)"
    },
    {
      "url": "https://oauth2-staging.sikoia.com",
      "description": "Authorization Server (Staging)"
    }
  ],
  "paths": {
    "/v2/webhooks/secrets": {
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Delete a shared secret",
        "description": "### Deletes a secret key used to sign webhook requests.\r\n\r\nPlease note that this action cannot be undone. Webhooks will continue to be sent without a secret - they will just not include the `X-HMAC-SHA256-Signature` header for verification purposes.",
        "operationId": "DELETE_v2-webhooks-secrets",
        "responses": {
          "204": {
            "description": "Webhook secret successfully deleted"
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroserviceUserManagement.Resources.SikoiaErrorResponse401"
                },
                "example": {
                  "type": "InvalidToken",
                  "status": "401",
                  "title": "Invalid Token",
                  "detail": "Invalid token",
                  "correlation_id": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
                }
              }
            }
          },
          "404": {
            "description": "No secret exists to be deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroserviceUserManagement.Resources.SikoiaErrorResponse404"
                },
                "example": {
                  "type": "ResourceNotFound",
                  "status": "404",
                  "title": "Resource Not Found",
                  "detail": "No resources found with id 6afd715b195c4d11b9e796bcdfbdfd9a.",
                  "correlation_id": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroserviceUserManagement.Resources.SikoiaErrorResponse429"
                },
                "example": {
                  "type": "RateLimit",
                  "status": "429",
                  "title": "Too Many Requests",
                  "detail": "You've exceeded the maximum API request limit per minute. Please try again later.",
                  "correlation_id": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroserviceUserManagement.Resources.SikoiaErrorResponse500"
                },
                "example": {
                  "type": "ServerError",
                  "status": "500",
                  "title": "Internal Server Error",
                  "detail": "Something has gone wrong, please try again",
                  "correlation_id": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "MicroserviceUserManagement.Resources.SikoiaErrorResponse401": {
        "title": "MicroserviceUserManagement.Resources.SikoiaErrorResponse",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true,
            "example": "InvalidToken"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true,
            "example": "401"
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true,
            "example": "Invalid Token"
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true,
            "example": "Invalid token"
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true,
            "example": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
          }
        },
        "additionalProperties": false
      },
      "MicroserviceUserManagement.Resources.SikoiaErrorResponse404": {
        "title": "MicroserviceUserManagement.Resources.SikoiaErrorResponse",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true,
            "example": "ResourceNotFound"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true,
            "example": "404"
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true,
            "example": "Resource Not Found"
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true,
            "example": "No resources found with id 6afd715b195c4d11b9e796bcdfbdfd9a."
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true,
            "example": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
          }
        },
        "additionalProperties": false
      },
      "MicroserviceUserManagement.Resources.SikoiaErrorResponse429": {
        "title": "MicroserviceUserManagement.Resources.SikoiaErrorResponse",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true,
            "example": "RateLimit"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true,
            "example": "429"
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true,
            "example": "Too Many Requests"
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true,
            "example": "You've exceeded the maximum API request limit per minute. Please try again later."
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true,
            "example": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
          }
        },
        "additionalProperties": false
      },
      "MicroserviceUserManagement.Resources.SikoiaErrorResponse500": {
        "title": "MicroserviceUserManagement.Resources.SikoiaErrorResponse",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true,
            "example": "ServerError"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true,
            "example": "500"
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true,
            "example": "Internal Server Error"
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true,
            "example": "Something has gone wrong, please try again"
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true,
            "example": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "authorizationHeader": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "apiKeyHeader": {
        "type": "apiKey",
        "name": "apikey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "authorizationHeader": []
    },
    {
      "apiKeyHeader": []
    }
  ]
}
```