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

# Update a signature request

> Update a signature request. Currently used to reject a request by setting its status to `rejected`.



## OpenAPI

````yaml /api-reference/signatures/openapi.yaml patch /v2/requests/{signatureRequestId}
openapi: 3.0.0
info:
  title: Signatures API
  description: >-
    The Signatures API lets you create and manage signature requests and
    signature transactions, and drive documents through the signing and
    notarization process. All endpoints are authenticated with a bearer JWT.
  version: 2.0.0
  contact:
    name: Slate API Support
    email: api-support@slate.inc
    url: https://slate.inc
servers:
  - url: https://api.slate.inc/signatures
    description: Production
  - url: https://api.uat.slate.inc/signatures
    description: UAT (staging)
security:
  - bearerAuth: []
paths:
  /v2/requests/{signatureRequestId}:
    patch:
      summary: Update a signature request
      description: >-
        Update a signature request. Currently used to reject a request by
        setting its status to `rejected`.
      operationId: patchV2SignaturesRequestsSignatureRequestId
      parameters:
        - in: path
          name: signatureRequestId
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchSignatureRequest'
      responses:
        '200':
          description: Signature request updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PatchSignatureRequestResponse'
        '400':
          description: Invalid request parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized or invalid permissions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Signature request not found, or the token does not have permission.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PatchSignatureRequest:
      type: object
      description: >-
        Only the status field can be patched, and the only allowed value is
        `rejected`.
      properties:
        status:
          type: string
          description: The only allowed value is `rejected`.
          enum:
            - rejected
      required:
        - status
    PatchSignatureRequestResponse:
      type: object
      description: Response for a rejected signature request.
      properties:
        id:
          type: string
          description: Unique identifier for the signature request.
        status:
          type: string
          enum:
            - rejected
          description: >-
            The status of the signature request (always `rejected` for this
            response).
        rejected_on:
          type: string
          format: date-time
          description: The timestamp when the signature request was rejected.
      required:
        - id
        - status
        - rejected_on
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
          description: A human-readable error message.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Cognito-issued JWT access token. Send it as `Authorization: Bearer
        <token>`.

````