> ## 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

> Changes an organization's settings, any of its name, proof default, PR authorship and commit attribution policy, and returns the organization.

Use this tool when you need to:
- Rename a team organization
- Choose whether a new pull request's proof opens to anyone holding the proof link or to the organization only
- Choose whether published PRs are written as Aether or as the task creator, or force one commit attribution on every task

Examples:
- PATCH /orgs/{orgID} {"name": "Acme Robotics"}
- PATCH /orgs/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21 {"pr_authorship": "person", "commit_attribution_policy": "aether_author"}

Hints:
- orgID is the organization's uuid. Every field is optional but at least one is required (400 empty_org_update); the fields named change together and the others keep their value.
- name is 1 to 100 characters, not made only of spaces, tabs, newlines, form feeds and carriage returns (422 from the schema otherwise); one the schema admits that holds NUL or no visible character once trimmed (vertical tabs, Unicode spaces or zero-width characters alone) is 400 invalid_org_name. A patch naming name on a personal organization is refused whole with 409 personal_org_immutable; its other settings may change.
- new_pull_request_proof_public is what a pull request's proof starts as: true, public to anyone holding the proof link; false, the organization only. A pull request whose proof was set explicitly keeps what it was given.
- pr_authorship is aether or person: 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. Review runs always act as Aether.
- commit_attribution_policy is per_person, where each member's own commit attribution applies, or one commit attribution forced on every task in the organization: person_author, aether_author or aether_only. The schema refuses any other pr_authorship or commit_attribution_policy with 422.
- Use patchPullRequestProof instead to set one pull request's proof visibility, and updateUserSettings to set the caller's own commit attribution.
- Owners and admins only: a member, billing member or viewer is refused with 403 org_role_insufficient, a non-member with 404 org_not_found, and credentials other than a session, such as a platform API key, with 403 credential_kind_not_admitted (an agent host's grant is refused before that with 403 agent_host_route_not_allowed).



## 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: >-
        Changes an organization's settings, any of its name, proof default, PR
        authorship and commit attribution policy, and returns the organization.


        Use this tool when you need to:

        - Rename a team organization

        - Choose whether a new pull request's proof opens to anyone holding the
        proof link or to the organization only

        - Choose whether published PRs are written as Aether or as the task
        creator, or force one commit attribution on every task


        Examples:

        - PATCH /orgs/{orgID} {"name": "Acme Robotics"}

        - PATCH /orgs/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21 {"pr_authorship":
        "person", "commit_attribution_policy": "aether_author"}


        Hints:

        - orgID is the organization's uuid. Every field is optional but at least
        one is required (400 empty_org_update); the fields named change together
        and the others keep their value.

        - name is 1 to 100 characters, not made only of spaces, tabs, newlines,
        form feeds and carriage returns (422 from the schema otherwise); one the
        schema admits that holds NUL or no visible character once trimmed
        (vertical tabs, Unicode spaces or zero-width characters alone) is 400
        invalid_org_name. A patch naming name on a personal organization is
        refused whole with 409 personal_org_immutable; its other settings may
        change.

        - new_pull_request_proof_public is what a pull request's proof starts
        as: true, public to anyone holding the proof link; false, the
        organization only. A pull request whose proof was set explicitly keeps
        what it was given.

        - pr_authorship is aether or person: 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. Review runs always
        act as Aether.

        - commit_attribution_policy is per_person, where each member's own
        commit attribution applies, or one commit attribution forced on every
        task in the organization: person_author, aether_author or aether_only.
        The schema refuses any other pr_authorship or commit_attribution_policy
        with 422.

        - Use patchPullRequestProof instead to set one pull request's proof
        visibility, and updateUserSettings to set the caller's own commit
        attribution.

        - Owners and admins only: a member, billing member or viewer is refused
        with 403 org_role_insufficient, a non-member with 404 org_not_found, and
        credentials other than a session, such as a platform API key, with 403
        credential_kind_not_admitted (an agent host's grant is refused before
        that with 403 agent_host_route_not_allowed).
      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/Org'
          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
        '410':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgsErrorResponse'
          description: Gone
        '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
    Org:
      additionalProperties: false
      properties:
        commit_attribution_policy:
          enum:
            - per_person
            - person_author
            - aether_author
            - aether_only
          type: string
        created_at:
          format: date-time
          type: string
        id:
          format: uuid
          type: string
        kind:
          enum:
            - personal
            - team
          type: string
        member_count:
          format: int64
          minimum: 1
          type: integer
        name:
          type: string
        new_pull_request_proof_public:
          type: boolean
        pr_authorship:
          enum:
            - aether
            - person
          type: string
        role:
          $ref: '#/components/schemas/OrgRole'
      required:
        - id
        - kind
        - name
        - role
        - member_count
        - new_pull_request_proof_public
        - pr_authorship
        - commit_attribution_policy
        - created_at
      type: object
    OrgsErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - already_org_member
            - bad_gateway
            - bad_request
            - cli_upgrade_required
            - client_outdated
            - conflict
            - default_actor_product_role_required
            - empty_org_update
            - forbidden
            - gateway_timeout
            - gone
            - internal_error
            - invalid_commit_attribution_policy
            - invalid_cursor
            - invalid_invite_email
            - invalid_invite_status
            - invalid_org_id
            - invalid_org_name
            - invalid_org_role
            - invalid_pr_authorship
            - invalid_seat_request_status
            - 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_has_members
            - org_has_subscription
            - org_not_found
            - org_pending_invite_limit
            - org_role_insufficient
            - owner_leave_forbidden
            - owner_removal_forbidden
            - owner_role_immutable
            - payment_required
            - personal_org_delete_forbidden
            - 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
            - session_auth_required
            - 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
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    OrgRole:
      enum:
        - owner
        - admin
        - member
        - billing
        - viewer
      type: string
    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.