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

# Reject Certificate

> Office rejects a certificate with a reason the crew member will see.



## OpenAPI

````yaml /openapi.json post /api/v1/crew/certificates/{certificate_id}/reject
openapi: 3.1.0
info:
  title: Seamind Backend
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/crew/certificates/{certificate_id}/reject:
    post:
      tags:
        - crew-verification
      summary: Reject Certificate
      description: Office rejects a certificate with a reason the crew member will see.
      operationId: reject_certificate_api_v1_crew_certificates__certificate_id__reject_post
      parameters:
        - name: certificate_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Certificate Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RejectVerificationRequestDTO'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrewVerificationResponseDTO'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    RejectVerificationRequestDTO:
      properties:
        reason:
          type: string
          title: Reason
      type: object
      required:
        - reason
      title: RejectVerificationRequestDTO
      description: Body for the reject endpoint.
    CrewVerificationResponseDTO:
      properties:
        targetType:
          type: string
          title: Targettype
        targetId:
          type: string
          title: Targetid
        status:
          $ref: '#/components/schemas/VerificationStatus'
        rejectionReason:
          anyOf:
            - type: string
            - type: 'null'
          title: Rejectionreason
        reviewedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Reviewedat
      type: object
      required:
        - targetType
        - targetId
        - status
      title: CrewVerificationResponseDTO
      description: |-
        API response shape (camelCase). Used both as the per-item entry in a
        profile summary and embedded as the `verification` field on a credential
        response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VerificationStatus:
      type: string
      enum:
        - not_submitted
        - pending
        - verified
        - rejected
      title: VerificationStatus
      description: Per-item review state.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````