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

# Invite or save a member

> Invite a member to the organization or update permissions for an existing member.



## OpenAPI

````yaml https://api.arklow.io/swagger/ui/json put /v1/orgs/{org_id}/members/invites/{identifier}
openapi: 3.1.0
info:
  title: Arklow
  description: Arklow's API
  version: 0.1.0
servers:
  - url: https://api.arklow.io
    description: Production
  - url: http://localhost:3123
    description: Local development
security:
  - apiKey: []
tags:
  - name: actions
  - name: api_keys
  - name: billing
  - name: config
  - name: credentials
  - name: destinations
  - name: invites
  - name: members
  - name: metrics
  - name: notifications
  - name: orgs
  - name: rules
  - name: sources
  - name: users
  - name: ingress
externalDocs:
  url: https://api.arklow.io/swagger/ui
paths:
  /v1/orgs/{org_id}/members/invites/{identifier}:
    put:
      tags:
        - members
      summary: Invite or save a member
      description: >-
        Invite a member to the organization or update permissions for an
        existing member.
      operationId: put_v1_orgs_by_org_id_members_invites_by_identifier
      parameters:
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: path
          name: org_id
          required: true
          description: Organization identifier
        - schema:
            type: string
            minLength: 1
          in: path
          name: identifier
          required: true
          description: User identifier or email of the invitee
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                permissions:
                  type: array
                  items:
                    anyOf:
                      - type: string
                        enum:
                          - owner
                      - type: string
                        enum:
                          - admin
                      - type: string
                        enum:
                          - viewer
                      - type: string
                        enum:
                          - billing
                      - type: string
                        enum:
                          - actions:runs:inputs
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - errors
                properties:
                  data:
                    anyOf:
                      - type: object
                        required:
                          - action
                        properties:
                          action:
                            anyOf:
                              - type: string
                                enum:
                                  - invited
                              - type: string
                                enum:
                                  - added
                          invite:
                            type: object
                            required:
                              - id
                              - org_id
                              - init_permissions
                            properties:
                              id:
                                type: string
                              org_id:
                                type: string
                              user_id:
                                type: string
                              email:
                                type: string
                              init_permissions:
                                type: array
                                items:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - owner
                                    - type: string
                                      enum:
                                        - admin
                                    - type: string
                                      enum:
                                        - viewer
                                    - type: string
                                      enum:
                                        - billing
                                    - type: string
                                      enum:
                                        - actions:runs:inputs
                          membership:
                            type: object
                            required:
                              - id
                              - org_id
                              - user_id
                              - permissions
                            properties:
                              id:
                                type: string
                              org_id:
                                type: string
                              user_id:
                                type: string
                              email:
                                type: string
                              permissions:
                                type: array
                                items:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - owner
                                    - type: string
                                      enum:
                                        - admin
                                    - type: string
                                      enum:
                                        - viewer
                                    - type: string
                                      enum:
                                        - billing
                                    - type: string
                                      enum:
                                        - actions:runs:inputs
                      - type: 'null'
                  errors:
                    anyOf:
                      - type: array
                        items:
                          type: object
                          required:
                            - code
                            - message
                          properties:
                            code:
                              type: string
                            message:
                              type: string
                      - type: 'null'
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-arklow-auth
      in: header

````