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

# Resend Invitation

> Resend invitation email for a pending invitation.

**Required Role:** ADMIN or OWNER

Resets the expiration to 7 days from now.



## OpenAPI

````yaml POST /v1/teams/{team_id}/invitations/{invitation_id}/resend
openapi: 3.1.0
info:
  title: Data Raven API
  description: Cloud-to-cloud data transfer platform powered by RClone
  version: 0.5.0
servers: []
security: []
paths:
  /v1/teams/{team_id}/invitations/{invitation_id}/resend:
    post:
      tags:
        - Invitations
      summary: Resend Invitation
      description: |-
        Resend invitation email for a pending invitation.

        **Required Role:** ADMIN or OWNER

        Resets the expiration to 7 days from now.
      operationId: >-
        resend_invitation_v1_teams__team_id__invitations__invitation_id__resend_post
      parameters:
        - name: team_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Team Id
        - name: invitation_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Invitation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvitationResponse'
        '400':
          description: Invitation cannot be resent (not pending)
        '404':
          description: Invitation not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limit exceeded
      security:
        - HTTPBearer: []
components:
  schemas:
    InvitationResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        team_id:
          type: string
          format: uuid
          title: Team Id
        email:
          type: string
          title: Email
        user_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: User Id
        role:
          $ref: '#/components/schemas/UserRole'
        status:
          $ref: '#/components/schemas/InvitationStatus'
        invited_by:
          type: string
          format: uuid
          title: Invited By
        created_at:
          type: string
          format: date-time
          title: Created At
        expires_at:
          type: string
          format: date-time
          title: Expires At
        accepted_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Accepted At
        declined_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Declined At
      type: object
      required:
        - id
        - team_id
        - email
        - role
        - status
        - invited_by
        - created_at
        - expires_at
      title: InvitationResponse
      description: Schema for invitation in team admin responses.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UserRole:
      type: string
      enum:
        - viewer
        - operator
        - admin
        - owner
      title: UserRole
      description: >-
        User roles within teams (hierarchical).


        - OWNER (4): Full control including team deletion

        - ADMIN (3): All operations except team deletion

        - OPERATOR (2): Day-to-day operations (run jobs, view logs), no
        setup/config

        - VIEWER (1): Read-only audit access
    InvitationStatus:
      type: string
      enum:
        - pending
        - accepted
        - declined
        - expired
        - revoked
      title: InvitationStatus
      description: Team invitation status values.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````