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

# SetManagedOrganizationFeatureFlagAPI turns a feature flag on for a managed org
you operate, as an


> org override. Only flags declared ManagerSettable in code are accepted (today bounded\_outreach); every other key is refused with 403, including the guard and staff-only flags. Revoking the org clears the override. Deliberately no MCP tool: opening a send-capable surface in a client org is a portal decision, like member adds (see the file header).




## OpenAPI

````yaml /api/openapi.json put /v1/managed-organizations/{orgSlug}/feature-flags/{key}
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-11-05'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/managed-organizations/{orgSlug}/feature-flags/{key}:
    put:
      summary: >
        SetManagedOrganizationFeatureFlagAPI turns a feature flag on for a
        managed org

        you operate, as an
      description: >
        org override. Only flags declared ManagerSettable in code are accepted
        (today bounded\_outreach); every other key is refused with 403,
        including the guard and staff-only flags. Revoking the org clears the
        override. Deliberately no MCP tool: opening a send-capable surface in a
        client org is a portal decision, like member adds (see the file header).
      operationId: PUT:mcp.SetManagedOrganizationFeatureFlagAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: orgSlug
          required: true
          schema:
            type: string
          style: simple
        - allowEmptyValue: true
          explode: false
          in: path
          name: key
          required: true
          schema:
            type: string
          style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  enabled:
                    type: boolean
                  flag_key:
                    type: string
                  org_slug:
                    type: string
                  set_by:
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````

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