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

# Search App Entitlement Resource Bindings

> Search the non-user grantees of an app entitlement, such as groups granted the entitlement,
 or the entitlements an app resource is granted. User grantees are returned by the grants search.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples post /api/v1/apps/{app_id}/entitlement_resource_bindings/search
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/apps/{app_id}/entitlement_resource_bindings/search:
    post:
      tags:
        - App Entitlement
      summary: Search App Entitlement Resource Bindings
      description: >-
        Search the non-user grantees of an app entitlement, such as groups
        granted the entitlement,
         or the entitlements an app resource is granted. User grantees are returned by the grants search.
      operationId: c1.api.app.v1.AppResourceService.SearchAppEntitlementResourceBindings
      parameters:
        - in: path
          name: app_id
          required: true
          schema:
            description: >-
              The ID of the app that the entitlement, or the resource, belongs
              to.
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/c1.api.app.v1.SearchAppEntitlementResourceBindingsRequestInput
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.app.v1.SearchAppEntitlementResourceBindingsResponse
          description: >-
            The response message containing the matching app entitlement
            resource bindings.
      x-codeSamples:
        - lang: go
          label: SearchAppEntitlementResourceBindings
          source: "package main\n\nimport(\n\t\"context\"\n\t\"github.com/conductorone/conductorone-sdk-go/pkg/models/shared\"\n\tconductoronesdkgo \"github.com/conductorone/conductorone-sdk-go\"\n\t\"github.com/conductorone/conductorone-sdk-go/pkg/models/operations\"\n\t\"log\"\n)\n\nfunc main() {\n    ctx := context.Background()\n\n    s := conductoronesdkgo.New(\n        conductoronesdkgo.WithSecurity(shared.Security{\n            BearerAuth: \"<YOUR_BEARER_TOKEN_HERE>\",\n            Oauth: \"<YOUR_OAUTH_HERE>\",\n        }),\n    )\n\n    res, err := s.AppResource.SearchAppEntitlementResourceBindings(ctx, operations.C1APIAppV1AppResourceServiceSearchAppEntitlementResourceBindingsRequest{\n        AppID: \"<id>\",\n    })\n    if err != nil {\n        log.Fatal(err)\n    }\n    if res.SearchAppEntitlementResourceBindingsResponse != nil {\n        // handle response\n    }\n}"
components:
  schemas:
    c1.api.app.v1.SearchAppEntitlementResourceBindingsRequestInput:
      description: >-
        The request message for searching app entitlement resource bindings, the
        grants of an
         entitlement to a non-user app resource such as a group. Search from either end: set
         app_entitlement_id to list the resources granted an entitlement, or set app_resource_type_id
         and app_resource_id to list the entitlements granted to a resource. Exactly one of the two
         must be provided.
      properties:
        appEntitlementId:
          description: The ID of the entitlement whose granted resources are listed.
          type: string
        appResourceId:
          description: >-
            The ID of the resource whose granted entitlements are listed. Set
            together with app_resource_type_id.
          type: string
        appResourceTypeId:
          description: >-
            The resource type ID of the resource whose granted entitlements are
            listed. Set together with app_resource_id.
          type: string
        pageSize:
          description: >-
            The maximum number of results to return per page, from 0 to 100. A
            value of 0 returns the default page size (currently 25).
          format: int32
          type: integer
        pageToken:
          description: >-
            The token from a previous response's next_page_token, used to fetch
            the next page.
          type: string
        query:
          description: >-
            Full-text query matched against the display name of the searched
            side:
             the bound resource when searching by entitlement, the bound entitlement
             when searching by resource.
          type: string
        resourceTypeIds:
          description: |-
            If set, only return bindings whose resource (the bound resource when
             searching by entitlement, the bound entitlement's parent resource when
             searching by resource) has one of these resource types.
          items:
            type: string
          type:
            - array
            - 'null'
      title: Search App Entitlement Resource Bindings Request
      type: object
      x-speakeasy-name-override: SearchAppEntitlementResourceBindingsRequest
    c1.api.app.v1.SearchAppEntitlementResourceBindingsResponse:
      description: >-
        The response message containing the matching app entitlement resource
        bindings.
      properties:
        list:
          description: The list of bindings.
          items:
            $ref: >-
              #/components/schemas/c1.api.app.v1.AppEntitlementResourceBindingView
          type:
            - array
            - 'null'
        nextPageToken:
          description: >-
            The nextPageToken is shown for the next page if the number of
            results is larger than the max page size.
             The server returns one page of results and the nextPageToken until all results are retrieved.
             To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.
          type: string
      title: Search App Entitlement Resource Bindings Response
      type: object
      x-speakeasy-name-override: SearchAppEntitlementResourceBindingsResponse
    c1.api.app.v1.AppEntitlementResourceBindingView:
      description: >-
        A grant of an app entitlement to a non-user app resource, such as a
        group.
      properties:
        appEntitlement:
          oneOf:
            - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlement'
            - type: 'null'
        appResource:
          oneOf:
            - $ref: '#/components/schemas/c1.api.app.v1.AppResource'
            - type: 'null'
        appResourceType:
          oneOf:
            - $ref: '#/components/schemas/c1.api.app.v1.AppResourceType'
            - type: 'null'
        deprovisionAt:
          format: date-time
          type:
            - string
            - 'null'
      title: App Entitlement Resource Binding View
      type: object
      x-speakeasy-name-override: AppEntitlementResourceBindingView
    c1.api.app.v1.AppEntitlement:
      description: >
        The app entitlement represents one permission in a downstream App (SAAS)
        that can be granted. For example, GitHub Read vs GitHub Write.


        This message contains a oneof named max_grant_duration. Only a single
        field of the following list may be set at a time:
          - durationUnset
          - durationGrant
      properties:
        alias:
          description: >-
            The alias of the app entitlement used by Cone. Also exact-match
            queryable.
          type: string
        annotations:
          additionalProperties:
            type: string
          description: |-
            Bounded key/value metadata bag for IaC marking and customer tags.
             See .rfcs/object-annotations.md §2. Limits: ≤16 entries; keys 1–128
             chars matching ^[A-Za-z][A-Za-z0-9._/-]{0,127}$; values 0–256 chars
             URL-safe ASCII; total serialized ≤ 4096 bytes. Keys matching ^c1/
             are reserved.

             Well-known keys: `managed_by`, `iac_workspace`,
             `iac_resource_address`, `iac_tool_version`.
          type: object
          x-speakeasy-terraform-plan-modifier:
            imports:
              - >-
                github.com/conductorone/terraform-provider-conductorone/internal/annotations
            schemaDefinition: annotations.PlanModifier()
        appId:
          description: The ID of the app that is associated with the app entitlement.
          type: string
        appResourceId:
          description: >-
            The ID of the app resource that is associated with the app
            entitlement
          type: string
        appResourceTypeId:
          description: >-
            The ID of the app resource type that is associated with the app
            entitlement
          type: string
        certifyPolicyId:
          description: >-
            The ID of the policy that will be used for certify tickets related
            to the app entitlement.
          type: string
        complianceFrameworkValueIds:
          description: >-
            The IDs of different compliance frameworks associated with this app
            entitlement ex (SOX, HIPAA, PCI, etc.)
          items:
            type: string
          type:
            - array
            - 'null'
        createdAt:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        defaultValuesApplied:
          description: >-
            Flag to indicate if app-level access request defaults have been
            applied to the entitlement
          type: boolean
        deletedAt:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        deprovisionerPolicy:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.ProvisionPolicy'
            - type: 'null'
        description:
          description: The description of the app entitlement.
          type: string
        displayName:
          description: The display name of the app entitlement.
          type: string
        durationGrant:
          format: duration
          type:
            - string
            - 'null'
        durationUnset:
          type:
            - object
            - 'null'
        emergencyGrantEnabled:
          description: >-
            This enables tasks to be created in an emergency and use a selected
            emergency access policy.
          type: boolean
        emergencyGrantPolicyId:
          description: >-
            The ID of the policy that will be used for emergency access grant
            tasks.
          type: string
        externalId:
          description: >-
            The upstream product's native external ID for this entitlement (e.g.
            an Okta group ID).
             Populated from the connector's external ID during sync.
          readOnly: true
          type: string
        grantCount:
          description: The amount of grants open for this entitlement
          format: int64
          readOnly: true
          type: string
        grantPolicyId:
          description: >-
            The ID of the policy that will be used for grant tickets related to
            the app entitlement.
          type: string
        id:
          description: The unique ID for the App Entitlement.
          readOnly: true
          type: string
        isAutomationEnabled:
          description: >-
            Flag to indicate whether automation (for adding users to entitlement
            based on rules) has been enabled.
          readOnly: true
          type: boolean
        isManuallyManaged:
          description: Flag to indicate if the app entitlement is manually managed.
          type: boolean
        matchBatonId:
          description: >-
            An identifier used to match this entitlement to a connector-synced
            entitlement during sync.
          type: string
        overrideAccessRequestsDefaults:
          description: >-
            Flag to indicate if the app-level access request settings have been
            overridden for the entitlement
          type: boolean
        provisionerPolicy:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.ProvisionPolicy'
            - type: 'null'
        purpose:
          description: >-
            The purpose of this entitlement (e.g., assignment, permission,
            ownership).
          enum:
            - APP_ENTITLEMENT_PURPOSE_VALUE_UNSPECIFIED
            - APP_ENTITLEMENT_PURPOSE_VALUE_ASSIGNMENT
            - APP_ENTITLEMENT_PURPOSE_VALUE_PERMISSION
            - APP_ENTITLEMENT_PURPOSE_VALUE_OWNERSHIP
          type: string
          x-speakeasy-unknown-values: allow
        requestSchemaId:
          description: The ID of the request schema associated with this app entitlement.
          type: string
        revokePolicyId:
          description: >-
            The ID of the policy that will be used for revoke tickets related to
            the app entitlement
          type: string
        riskLevelValueId:
          description: The ID of the risk level assigned to this entitlement.
          type: string
        slug:
          description: >-
            The slug is displayed as an oval next to the name in the frontend of
            C1, it tells you what permission the entitlement grants. See
            https://www.conductorone.com/docs/product/admin/entitlements/
          type: string
        sourceConnectorIds:
          additionalProperties:
            type: string
          description: Map to tell us which connector the entitlement came from.
          type: object
        systemBuiltin:
          description: This field indicates if this is a system builtin entitlement.
          readOnly: true
          type: boolean
        updatedAt:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        userEditedMask:
          type:
            - string
            - 'null'
      title: App Entitlement
      type: object
      x-speakeasy-entity: Custom App Entitlement
      x-speakeasy-name-override: AppEntitlement
    c1.api.app.v1.AppResource:
      description: >
        The app resource message is a single resource that can have
        entitlements.


        This message contains a oneof named metadata. Only a single field of the
        following list may be set at a time:
          - secretTrait
      properties:
        accessConfigId:
          description: |-
            The access config ID for this resource. May be empty.
             Must be one of the builtin access config IDs or empty.
          type: string
        agentTrait:
          oneOf:
            - $ref: '#/components/schemas/c1.api.app.v1.AgentTrait'
            - type: 'null'
        annotations:
          additionalProperties:
            type: string
          description: |-
            Bounded key/value metadata bag for IaC marking and customer tags.
             See .rfcs/object-annotations.md §2. Limits: ≤16 entries; keys 1–128
             chars matching ^[A-Za-z][A-Za-z0-9._/-]{0,127}$; values 0–256 chars
             URL-safe ASCII; total serialized ≤ 4096 bytes. Keys matching ^c1/
             are reserved.

             Well-known keys: `managed_by`, `iac_workspace`,
             `iac_resource_address`, `iac_tool_version`.

             Most AppResources are connector-synced; user-supplied annotations on
             a synced resource will be overwritten by the next sync. The
             annotations bag is most useful on user-created groups (the
             `conductorone_app_resource` TF resource).
          type: object
          x-speakeasy-terraform-plan-modifier:
            imports:
              - >-
                github.com/conductorone/terraform-provider-conductorone/internal/annotations
            schemaDefinition: annotations.PlanModifier()
        appId:
          description: The app that this resource belongs to.
          type: string
        appResourceTypeId:
          description: The resource type that this resource is.
          type: string
        createdAt:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        customDescription:
          description: A custom description that can be set for a resource.
          type: string
        deletedAt:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        description:
          description: The description set for the resource.
          type: string
        displayName:
          description: The display name for this resource.
          type: string
        externalId:
          description: >-
            The upstream product's native external ID for this resource (e.g. an
            Okta group ID).
             Populated from the connector's external ID during sync.
          readOnly: true
          type: string
        grantCount:
          description: The number of grants to this resource.
          format: int64
          type: string
        id:
          description: The id of the resource.
          type: string
        isManuallyManaged:
          description: >-
            Whether the resource was created manually in ConductorOne rather
            than synced from a connector.
             Only manually created resources can be deleted in ConductorOne.
          readOnly: true
          type: boolean
        matchBatonId:
          description: The matchBatonId field.
          type: string
        nhiDetail:
          description: |-
            Axis-2 detail refining nhi_type (e.g. "aws.role.lambda"). Read-only;
             translated from the model.
          readOnly: true
          type: string
        nhiType:
          description: |-
            The NHI classification (K3 spine) for this resource. Populated for
             non-human-identity resources; UNSPECIFIED for everything else. Mirrors
             agent_trait: read-only and translated from the model enum at the API boundary.
          enum:
            - NHI_TYPE_UNSPECIFIED
            - NHI_TYPE_APP_REGISTRATION
            - NHI_TYPE_ASSUMABLE_ROLE
            - NHI_TYPE_MANAGED_IDENTITY
          readOnly: true
          type: string
          x-speakeasy-unknown-values: allow
        parentAppResourceId:
          description: >-
            The parent resource id, if this resource is a child of another
            resource.
          type: string
        parentAppResourceTypeId:
          description: >-
            The parent resource type id, if this resource is a child of another
            resource.
          type: string
        profile:
          additionalProperties: true
          readOnly: true
          type:
            - object
            - 'null'
        secretTrait:
          oneOf:
            - $ref: '#/components/schemas/c1.api.app.v1.SecretTrait'
            - type: 'null'
        updatedAt:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
      title: App Resource
      type: object
      x-speakeasy-entity: App Resource
      x-speakeasy-name-override: AppResource
    c1.api.app.v1.AppResourceType:
      description: >-
        The AppResourceType is referenced by an app entitlement defining its
        resource types. Commonly things like Group or Role.
      properties:
        appId:
          description: The ID of the app that is associated with the app resource type
          readOnly: true
          type: string
        createdAt:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        deletedAt:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        displayName:
          description: The display name of the app resource type.
          type: string
        id:
          description: The unique ID for the app resource type.
          readOnly: true
          type: string
        traitIds:
          description: Associated trait ids
          items:
            type: string
          type:
            - array
            - 'null'
        updatedAt:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
      title: App Resource Type
      type: object
      x-speakeasy-entity: App Resource Type
      x-speakeasy-name-override: AppResourceType
    c1.api.policy.v1.ProvisionPolicy:
      description: >
        ProvisionPolicy is a oneOf that indicates how a provision step should be
        processed.


        This message contains a oneof named typ. Only a single field of the
        following list may be set at a time:
          - connector
          - manual
          - delegated
          - webhook
          - multiStep
          - externalTicket
          - unconfigured
          - action
          - devicePlacement
      properties:
        action:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.ActionProvision'
            - type: 'null'
        connector:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.ConnectorProvision'
            - type: 'null'
        delegated:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.DelegatedProvision'
            - type: 'null'
        devicePlacement:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.DevicePlacementProvision'
            - type: 'null'
        externalTicket:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.ExternalTicketProvision'
            - type: 'null'
        manual:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.ManualProvision'
            - type: 'null'
        multiStep:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.MultiStep'
            - type: 'null'
        unconfigured:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.UnconfiguredProvision'
            - type: 'null'
        webhook:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.WebhookProvision'
            - type: 'null'
      title: Provision Policy
      type: object
      x-speakeasy-name-override: ProvisionPolicy
    c1.api.app.v1.AgentTrait:
      description: >-
        AgentTrait carries metadata for AI-agent resources surfaced in the
        Inventory.
      properties:
        identityAppUserId:
          description: >-
            The C1 app user ID of the service-account identity this agent
            authenticates as.
             Empty if the backing identity has not yet been resolved.
          type: string
        status:
          description: The agent's lifecycle status (READY, DISABLED, DELETED).
          enum:
            - AGENT_STATUS_UNSPECIFIED
            - AGENT_STATUS_READY
            - AGENT_STATUS_DISABLED
            - AGENT_STATUS_DELETED
          type: string
          x-speakeasy-unknown-values: allow
      title: Agent Trait
      type: object
      x-speakeasy-name-override: AgentTrait
    c1.api.app.v1.SecretTrait:
      description: The SecretTrait message.
      properties:
        createdByAppUserId:
          description: >-
            The AppUser id that created this credential. Read-only; resolved
            from
             the model during uplift. Distinct from identity_app_user_id (the
             holder) and from the resource's Owner (a separate assignment, not
             part of this message).
          type: string
        credentialDetail:
          description: >-
            Platform-specific credential subtype detail, finer than
            credential_type
             (e.g. "GCP service-account key"). Read-only; translated from the model.
          type: string
        identityAppUserId:
          description: The identityAppUserId field.
          type: string
        lastUsedAt:
          format: date-time
          type:
            - string
            - 'null'
        secretCreatedAt:
          format: date-time
          type:
            - string
            - 'null'
        secretExpiresAt:
          format: date-time
          type:
            - string
            - 'null'
      title: Secret Trait
      type: object
      x-speakeasy-name-override: SecretTrait
    c1.api.policy.v1.ActionProvision:
      description: >-
        This provision step indicates that account lifecycle action should be
        called to provision this entitlement.
      properties:
        actionName:
          description: The actionName field.
          type: string
        appId:
          description: The appId field.
          type: string
        connectorId:
          description: The connectorId field.
          type: string
        displayName:
          description: The displayName field.
          type: string
      title: Action Provision
      type: object
      x-speakeasy-name-override: ActionProvision
    c1.api.policy.v1.ConnectorProvision:
      description: >
        Indicates that a connector should perform the provisioning. This object
        has no fields.


        This message contains a oneof named provision_type. Only a single field
        of the following list may be set at a time:
          - defaultBehavior
          - account
          - deleteAccount
      properties:
        account:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.policy.v1.ConnectorProvision.AccountProvision
            - type: 'null'
        defaultBehavior:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.policy.v1.ConnectorProvision.DefaultBehavior
            - type: 'null'
        deleteAccount:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.policy.v1.ConnectorProvision.DeleteAccount
            - type: 'null'
      title: Connector Provision
      type: object
      x-speakeasy-name-override: ConnectorProvision
    c1.api.policy.v1.DelegatedProvision:
      description: >-
        This provision step indicates that we should delegate provisioning to
        the configuration of another app entitlement. This app entitlement does
        not have to be one from the same app, but MUST be configured as a proxy
        binding leading into this entitlement.
      properties:
        appId:
          description: The AppID of the entitlement to delegate provisioning to.
          type: string
        entitlementId:
          description: The ID of the entitlement we are delegating provisioning to.
          type: string
        implicit:
          description: >-
            No longer supported; create an app entitlement proxy binding
            instead. Ignored when creating an app entitlement, and always
            returned as false.
          type: boolean
      title: Delegated Provision
      type: object
      x-speakeasy-name-override: DelegatedProvision
    c1.api.policy.v1.DevicePlacementProvision:
      description: >-
        This provision step is fulfilled by a Latchkey member device producing
        an MLS Welcome for the recipient. It has no assignee and no instructions
        because the step is not human-actionable.
      properties:
        vaultBoundaryId:
          description: The vaultBoundaryId field.
          type: string
      title: Device Placement Provision
      type: object
      x-speakeasy-name-override: DevicePlacementProvision
    c1.api.policy.v1.ExternalTicketProvision:
      description: >-
        This provision step indicates that we should check an external ticket to
        provision this entitlement
      properties:
        appId:
          description: The appId field.
          type: string
        connectorId:
          description: The connectorId field.
          type: string
        externalTicketProvisionerConfigId:
          description: The externalTicketProvisionerConfigId field.
          type: string
        instructions:
          description: >-
            This field indicates a text body of instructions for the provisioner
            to indicate.
          type: string
      title: External Ticket Provision
      type: object
      x-speakeasy-name-override: ExternalTicketProvision
    c1.api.policy.v1.ManualProvision:
      description: >-
        Manual provisioning indicates that a human must intervene for the
        provisioning of this step.
      properties:
        assignee:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.ProvisionerAssignment'
            - type: 'null'
        instructions:
          description: >-
            This field indicates a text body of instructions for the provisioner
            to indicate.
          type: string
        userIds:
          description: |-
            An array of users that are required to provision during this step.
             Deprecated: Use assignee field instead for dynamic provisioner assignment.
          items:
            type: string
          type:
            - array
            - 'null'
      title: Manual Provision
      type: object
      x-speakeasy-name-override: ManualProvision
    c1.api.policy.v1.MultiStep:
      description: >-
        MultiStep indicates that this provision step has multiple steps to
        process.
      properties:
        provisionSteps:
          description: The array of provision steps to process.
          items:
            $ref: '#/components/schemas/c1.api.policy.v1.ProvisionPolicy'
          type:
            - array
            - 'null'
      title: Multi Step
      type: object
      x-speakeasy-name-override: MultiStep
    c1.api.policy.v1.UnconfiguredProvision:
      description: The UnconfiguredProvision message.
      title: Unconfigured Provision
      type: object
      x-speakeasy-name-override: UnconfiguredProvision
    c1.api.policy.v1.WebhookProvision:
      description: >-
        This provision step indicates that a webhook should be called to
        provision this entitlement.
      properties:
        webhookId:
          description: The ID of the webhook to call for provisioning.
          type: string
      title: Webhook Provision
      type: object
      x-speakeasy-name-override: WebhookProvision
    c1.api.policy.v1.ConnectorProvision.AccountProvision:
      description: >
        The AccountProvision message.


        This message contains a oneof named storage_type. Only a single field of
        the following list may be set at a time:
          - saveToVault
          - doNotSave
      properties:
        config:
          additionalProperties: true
          type:
            - object
            - 'null'
        connectorId:
          description: The connectorId field.
          type: string
        doNotSave:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.policy.v1.ConnectorProvision.DoNotSave
            - type: 'null'
        saveToVault:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.policy.v1.ConnectorProvision.SaveToVault
            - type: 'null'
        schemaId:
          description: The schemaId field.
          type: string
      title: Account Provision
      type: object
      x-speakeasy-name-override: AccountProvision
    c1.api.policy.v1.ConnectorProvision.DefaultBehavior:
      description: The DefaultBehavior message.
      properties:
        connectorId:
          description: >-
            this checks if the entitlement is enabled by provisioning in a
            specific connector
             this can happen automatically and doesn't need any extra info
          type: string
      title: Default Behavior
      type: object
      x-speakeasy-name-override: DefaultBehavior
    c1.api.policy.v1.ConnectorProvision.DeleteAccount:
      description: The DeleteAccount message.
      properties:
        connectorId:
          description: The connectorId field.
          type: string
      title: Delete Account
      type: object
      x-speakeasy-name-override: DeleteAccount
    c1.api.policy.v1.ProvisionerAssignment:
      description: >
        ProvisionerAssignment defines how a provisioner is dynamically assigned.


        This message contains a oneof named typ. Only a single field of the
        following list may be set at a time:
          - users
          - appOwners
          - group
          - manager
          - expression
          - entitlementOwners
      properties:
        appOwners:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.AppOwnerProvisioner'
            - type: 'null'
        entitlementOwners:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.policy.v1.EntitlementOwnerProvisioner
            - type: 'null'
        expression:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.ExpressionProvisioner'
            - type: 'null'
        group:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.GroupProvisioner'
            - type: 'null'
        manager:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.ManagerProvisioner'
            - type: 'null'
        users:
          oneOf:
            - $ref: '#/components/schemas/c1.api.policy.v1.UserProvisioner'
            - type: 'null'
      title: Provisioner Assignment
      type: object
      x-speakeasy-name-override: ProvisionerAssignment
    c1.api.policy.v1.ConnectorProvision.DoNotSave:
      description: The DoNotSave message.
      title: Do Not Save
      type: object
      x-speakeasy-name-override: DoNotSave
    c1.api.policy.v1.ConnectorProvision.SaveToVault:
      description: The SaveToVault message.
      properties:
        vaultIds:
          description: The vaultIds field.
          items:
            type: string
          type:
            - array
            - 'null'
      title: Save To Vault
      type: object
      x-speakeasy-name-override: SaveToVault
    c1.api.policy.v1.AppOwnerProvisioner:
      description: AppOwnerProvisioner resolves to app owners.
      properties:
        allowReassignment:
          description: Whether the provisioner can reassign the task.
          type: boolean
        fallbackUserIds:
          description: Fallback user IDs if no app owners are found.
          items:
            type: string
          type:
            - array
            - 'null'
      title: App Owner Provisioner
      type: object
      x-speakeasy-name-override: AppOwnerProvisioner
    c1.api.policy.v1.EntitlementOwnerProvisioner:
      description: EntitlementOwnerProvisioner resolves to entitlement owners.
      properties:
        allowReassignment:
          description: Whether the provisioner can reassign the task.
          type: boolean
        fallbackUserIds:
          description: Fallback user IDs if no entitlement owners are found.
          items:
            type: string
          type:
            - array
            - 'null'
      title: Entitlement Owner Provisioner
      type: object
      x-speakeasy-name-override: EntitlementOwnerProvisioner
    c1.api.policy.v1.ExpressionProvisioner:
      description: >-
        ExpressionProvisioner evaluates CEL expressions to determine
        provisioners.
      properties:
        allowReassignment:
          description: Whether the provisioner can reassign the task.
          type: boolean
        expressions:
          description: The CEL expressions to evaluate.
          items:
            type: string
          type:
            - array
            - 'null'
        fallbackUserIds:
          description: Fallback user IDs if expression evaluation yields no users.
          items:
            type: string
          type:
            - array
            - 'null'
      title: Expression Provisioner
      type: object
      x-speakeasy-name-override: ExpressionProvisioner
    c1.api.policy.v1.GroupProvisioner:
      description: GroupProvisioner resolves to members of a specific group.
      properties:
        allowReassignment:
          description: Whether the provisioner can reassign the task.
          type: boolean
        appGroupId:
          description: The app group ID (entitlement ID).
          type: string
        appId:
          description: The app ID containing the group.
          type: string
        fallbackUserIds:
          description: Fallback user IDs if no group members are found.
          items:
            type: string
          type:
            - array
            - 'null'
      title: Group Provisioner
      type: object
      x-speakeasy-name-override: GroupProvisioner
    c1.api.policy.v1.ManagerProvisioner:
      description: ManagerProvisioner resolves to the user's manager.
      properties:
        allowReassignment:
          description: Whether the provisioner can reassign the task.
          type: boolean
        fallbackUserIds:
          description: Fallback user IDs if no manager is found.
          items:
            type: string
          type:
            - array
            - 'null'
      title: Manager Provisioner
      type: object
      x-speakeasy-name-override: ManagerProvisioner
    c1.api.policy.v1.UserProvisioner:
      description: UserProvisioner assigns specific users as provisioners.
      properties:
        allowReassignment:
          description: Whether the provisioner can reassign the task.
          type: boolean
        userIds:
          description: The user IDs to assign as provisioners.
          items:
            type: string
          type:
            - array
            - 'null'
      title: User Provisioner
      type: object
      x-speakeasy-name-override: UserProvisioner
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````