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

# Change organization settings

> Owners and admins only. Optionally renames a team organization and sets what a pull request's proof starts as: public to anyone holding the proof link, or the organization only. A pull request whose proof was set explicitly keeps what it was given. Also sets PR authorship: whether a task's published pull request, its description and its comments are written as Aether or as the task creator through their own GitHub connection; and the commit attribution policy: per_person, where each member's own commit attribution applies, or one commit attribution forced on every task in the organization. Members and viewers are refused (403 org_role_insufficient).



## OpenAPI

````yaml api-reference/openapi.json PATCH /orgs/{orgID}
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /orgs/{orgID}:
    patch:
      tags:
        - orgs
      summary: Change organization settings
      description: >-
        Owners and admins only. Optionally renames a team organization and sets
        what a pull request's proof starts as: public to anyone holding the
        proof link, or the organization only. A pull request whose proof was set
        explicitly keeps what it was given. Also sets PR authorship: whether a
        task's published pull request, its description and its comments are
        written as Aether or as the task creator through their own GitHub
        connection; and the commit attribution policy: per_person, where each
        member's own commit attribution applies, or one commit attribution
        forced on every task in the organization. Members and viewers are
        refused (403 org_role_insufficient).
      operationId: updateOrg
      parameters:
        - in: path
          name: orgID
          required: true
          schema:
            format: uuid
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrgRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgSettingsResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Conflict
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Internal Server Error
components:
  schemas:
    UpdateOrgRequest:
      additionalProperties: false
      properties:
        commit_attribution_policy:
          enum:
            - per_person
            - person_author
            - aether_author
            - aether_only
          type: string
        name:
          maxLength: 100
          minLength: 1
          pattern: \S
          type: string
        new_pull_request_proof_public:
          type: boolean
        pr_authorship:
          enum:
            - aether
            - person
          type: string
      type: object
    OrgSettingsResponse:
      additionalProperties: false
      properties:
        commit_attribution_policy:
          enum:
            - per_person
            - person_author
            - aether_author
            - aether_only
          type: string
        id:
          format: uuid
          type: string
        name:
          type: string
        new_pull_request_proof_public:
          type: boolean
        pr_authorship:
          enum:
            - aether
            - person
          type: string
      required:
        - name
        - id
        - new_pull_request_proof_public
        - pr_authorship
        - commit_attribution_policy
      type: object
    OrgsErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - already_org_member
            - bad_gateway
            - bad_request
            - conflict
            - default_actor_product_role_required
            - empty_org_update
            - forbidden
            - gateway_timeout
            - gone
            - internal_error
            - invalid_commit_attribution_policy
            - invalid_invite_email
            - invalid_org_id
            - invalid_org_name
            - invalid_org_role
            - invalid_pr_authorship
            - invalid_user_id
            - invite_already_pending
            - invite_delivery_failed
            - invite_delivery_unavailable
            - invite_expired
            - invite_not_pending
            - inviter_daily_invite_limit
            - member_role_changed
            - method_not_allowed
            - not_acceptable
            - not_found
            - not_implemented
            - org_default_actor_reassignment_required
            - org_not_found
            - org_pending_invite_limit
            - org_role_insufficient
            - owner_leave_forbidden
            - owner_removal_forbidden
            - owner_role_immutable
            - payment_required
            - personal_org_immutable
            - personal_org_leave_forbidden
            - precondition_failed
            - rate_limited
            - request_canceled
            - request_timeout
            - request_too_large
            - seat_request_delivery_failed
            - seat_request_pending
            - service_unavailable
            - team_org_required
            - unauthenticated
            - unsupported_media_type
            - validation_failed
            - viewer_limit_reached
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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