> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-eu-instance.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Plan Type Change

> PlanTypeChange reports settings that must be turned off before Update can
 change an access profile to the requested type. It does not modify the
 profile or any associated state.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples post /api/v1/catalogs/{request_catalog_id}/type-change/plan
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/catalogs/{request_catalog_id}/type-change/plan:
    post:
      tags:
        - Request Catalog
      summary: Plan Type Change
      description: >-
        PlanTypeChange reports settings that must be turned off before Update
        can
         change an access profile to the requested type. It does not modify the
         profile or any associated state.
      operationId: c1.api.requestcatalog.v1.RequestCatalogManagementService.PlanTypeChange
      parameters:
        - in: path
          name: request_catalog_id
          required: true
          schema:
            description: Access profile to inspect.
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServicePlanTypeChangeRequestInput
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.requestcatalog.v1.RequestCatalogManagementServicePlanTypeChangeResponse
          description: Describes behavior affected by an access profile type change.
      x-codeSamples:
        - lang: go
          label: PlanTypeChange
          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.RequestCatalogManagement.PlanTypeChange(ctx, operations.C1APIRequestcatalogV1RequestCatalogManagementServicePlanTypeChangeRequest{\n        RequestCatalogID: \"<id>\",\n    })\n    if err != nil {\n        log.Fatal(err)\n    }\n    if res.RequestCatalogManagementServicePlanTypeChangeResponse != nil {\n        // handle response\n    }\n}"
components:
  schemas:
    c1.api.requestcatalog.v1.RequestCatalogManagementServicePlanTypeChangeRequestInput:
      description: Requests a side-effect-free plan for changing an access profile's type.
      properties:
        targetType:
          description: >-
            Requested type. UNSPECIFIED and the deprecated PROFILE value are
            rejected.
          enum:
            - REQUEST_CATALOG_TYPE_UNSPECIFIED
            - REQUEST_CATALOG_TYPE_CATALOG
            - REQUEST_CATALOG_TYPE_PROFILE
            - REQUEST_CATALOG_TYPE_CATALOG_AND_BUNDLE
            - REQUEST_CATALOG_TYPE_BUNDLE
          type: string
          x-speakeasy-unknown-values: allow
      title: Request Catalog Management Service Plan Type Change Request
      type: object
      x-speakeasy-name-override: RequestCatalogManagementServicePlanTypeChangeRequest
    c1.api.requestcatalog.v1.RequestCatalogManagementServicePlanTypeChangeResponse:
      description: Describes behavior affected by an access profile type change.
      properties:
        currentType:
          description: >-
            Current stored type. UNSPECIFIED means the profile predates type
            backfill
             or contains an unknown future value.
          enum:
            - REQUEST_CATALOG_TYPE_UNSPECIFIED
            - REQUEST_CATALOG_TYPE_CATALOG
            - REQUEST_CATALOG_TYPE_PROFILE
            - REQUEST_CATALOG_TYPE_CATALOG_AND_BUNDLE
            - REQUEST_CATALOG_TYPE_BUNDLE
          type: string
          x-speakeasy-unknown-values: allow
        impacts:
          description: |-
            Deterministically ordered behavior affected by the transition. These
             impacts describe what the target type does not support; the change does not
             remove or modify the underlying state.
          items:
            $ref: >-
              #/components/schemas/c1.api.requestcatalog.v1.RequestCatalogTypeChangeImpact
          type:
            - array
            - 'null'
        targetType:
          description: Type requested by the caller.
          enum:
            - REQUEST_CATALOG_TYPE_UNSPECIFIED
            - REQUEST_CATALOG_TYPE_CATALOG
            - REQUEST_CATALOG_TYPE_PROFILE
            - REQUEST_CATALOG_TYPE_CATALOG_AND_BUNDLE
            - REQUEST_CATALOG_TYPE_BUNDLE
          type: string
          x-speakeasy-unknown-values: allow
      title: Request Catalog Management Service Plan Type Change Response
      type: object
      x-speakeasy-name-override: RequestCatalogManagementServicePlanTypeChangeResponse
    c1.api.requestcatalog.v1.RequestCatalogTypeChangeImpact:
      description: Stable machine-readable impact produced by access profile type planning.
      properties:
        category:
          description: How the target type treats the current state.
          enum:
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CATEGORY_UNSPECIFIED
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CATEGORY_BLOCKS_CHANGE
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CATEGORY_WILL_DISABLE
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CATEGORY_WILL_REMOVE
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CATEGORY_INFORMATIONAL
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CATEGORY_NEEDS_ATTENTION
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CATEGORY_NOT_SUPPORTED
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CATEGORY_IGNORED
          type: string
          x-speakeasy-unknown-values: allow
        code:
          description: Stable reason identifier for rendering, diagnostics, and tests.
          enum:
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_UNSPECIFIED
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_SAME_TYPE
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_CURRENT_TYPE_UNSPECIFIED
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_CURRENT_TYPE_UNKNOWN
            - >-
              REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_MEMBERSHIP_ENTITLEMENT_MISSING
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_PUBLISHED
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_VISIBLE_TO_EVERYONE
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_VISIBILITY_BINDINGS
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_REQUEST_BUNDLE
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_ENROLLMENT_BEHAVIOR
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_UNENROLLMENT_BEHAVIOR
            - >-
              REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_UNENROLLMENT_ENTITLEMENT_BEHAVIOR
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_MEMBERSHIP_REQUEST_SCHEMA
            - >-
              REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_MEMBERSHIP_REQUEST_DEFAULTS_OVERRIDE
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_BUNDLE_AUTOMATION
            - >-
              REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_MEMBERSHIP_ENTITLEMENT_AUTOMATION
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_AUTOMATION_EXCLUSIONS
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_ENROLLED_MEMBERS
            - REQUEST_CATALOG_TYPE_CHANGE_IMPACT_CODE_CATALOG_MEMBERSHIP_GRANTS
          type: string
          x-speakeasy-unknown-values: allow
        count:
          description: >-
            Number of affected objects. Zero means the impact describes one
            setting.
          format: int64
          type: string
        countIsLowerBound:
          description: >-
            True when count reached the service safety bound and is a lower
            bound.
          type: boolean
        fieldPath:
          description: >-
            Protobuf-style field path when the impact is caused by stored
            settings.
          type: string
        ref:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.requestcatalog.v1.RequestCatalogTypeChangeImpactRef
            - type: 'null'
      title: Request Catalog Type Change Impact
      type: object
      x-speakeasy-name-override: RequestCatalogTypeChangeImpact
    c1.api.requestcatalog.v1.RequestCatalogTypeChangeImpactRef:
      description: >
        Object associated with a type-change impact.


        This message contains a oneof named ref. Only a single field of the
        following list may be set at a time:
          - requestCatalog
          - appEntitlement
          - bundleAutomation
      properties:
        appEntitlement:
          oneOf:
            - $ref: '#/components/schemas/c1.api.app.v1.AppEntitlementRef'
            - type: 'null'
        bundleAutomation:
          oneOf:
            - $ref: >-
                #/components/schemas/c1.api.requestcatalog.v1.BundleAutomationRef
            - type: 'null'
        requestCatalog:
          oneOf:
            - $ref: '#/components/schemas/c1.api.requestcatalog.v1.RequestCatalogRef'
            - type: 'null'
      title: Request Catalog Type Change Impact Ref
      type: object
      x-speakeasy-name-override: RequestCatalogTypeChangeImpactRef
    c1.api.app.v1.AppEntitlementRef:
      description: The AppEntitlementRef message.
      properties:
        appId:
          description: The appId field.
          type: string
        id:
          description: The id field.
          type: string
      title: App Entitlement Ref
      type: object
      x-speakeasy-name-override: AppEntitlementRef
    c1.api.requestcatalog.v1.BundleAutomationRef:
      description: The BundleAutomationRef message.
      properties:
        requestCatalogId:
          description: The requestCatalogId field.
          type: string
      title: Bundle Automation Ref
      type: object
      x-speakeasy-name-override: BundleAutomationRef
    c1.api.requestcatalog.v1.RequestCatalogRef:
      description: The RequestCatalogRef message.
      properties:
        id:
          description: The id field.
          type: string
      title: Request Catalog Ref
      type: object
      x-speakeasy-name-override: RequestCatalogRef
  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

````