> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Decline to sign

> Public, with a signature-guest-token.

Declines, which ends the request for everyone: signatures given through it are cleared and the sender is told, with the reason.



## OpenAPI

````yaml post /signature/guest/requests/{requestId}/decline
openapi: 3.1.0
info:
  title: HERO API
  version: current
  description: |-
    The HERO REST API.

    See https://developers.myhero.so for the rendered docs.
servers:
  - url: https://app.myhero.so
security: []
paths:
  /signature/guest/requests/{requestId}/decline:
    post:
      tags:
        - Signatures
      summary: Decline to sign
      description: >-
        Public, with a signature-guest-token.


        Declines, which ends the request for everyone: signatures given through
        it are cleared and the sender is told, with the reason.
      operationId: declineSignatureGuest
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: requestId
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                reason:
                  type: string
                  maxLength: 1000
      responses:
        '200':
          description: 200 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      declined:
                        type: boolean
                        enum:
                          - true
                    required:
                      - declined
                required:
                  - data
        '401':
          description: 401 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: |-
                      Error class name (e.g.

                      ValidationError, NotFound)
                  message:
                    type: string
                    description: Human-readable error message
                  details:
                    type: array
                    items: {}
                required:
                  - error
                  - message
        '410':
          description: 410 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: |-
                      Error class name (e.g.

                      ValidationError, NotFound)
                  message:
                    type: string
                    description: Human-readable error message
                  details:
                    type: array
                    items: {}
                required:
                  - error
                  - message
      security: []

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.