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

# Profile Session Config Delete

> Remove the session settings saved on a profile. Sessions started with it then use only the settings of their own start request.



## OpenAPI

````yaml https://api.notte.cc/openapi.json delete /profiles/{profile_id}/session-config
openapi: 3.1.0
info:
  title: Notte API
  description: >-
    Notte API is a REST API that allows you to interact with Notte. It is used
    to create cloud browser sessions, scrape webpages, and run web ai agents to
    act on your behalf on the internet.
  version: 1.10.22
  x-logo:
    url: https://www.notte.cc/images/logo/logo-white.png
servers: []
security: []
tags:
  - name: agents
    description: Web AI agents (start, stop, status, replay, etc.)
  - name: sessions
    description: Session management (start, stop, status, etc.)
  - name: debug
    description: Session debugging tools (replay,logs, recording, etc.)
  - name: page
    description: Page operations withing a session (observe, step, scrape, etc.)
  - name: storage
    description: File storage interface (upload, download, list, etc.)
  - name: network
    description: Network requests/responses withing a session (intercept, etc.)
  - name: vaults
    description: >-
      Vault & Credentials management (create/delete vaults, create/delete
      credentials, etc.)
  - name: personas
    description: Persona management (create, delete, list emails, list sms, etc.)
  - name: scrape
    description: >-
      Webpage scraping (scrape, screenshot, etc.) with automatic session
      management.
  - name: health
    description: Health check endpoint.
  - name: usage
    description: Usage logs (usage, logs, etc.)
  - name: audit
    description: Audit trail of account and workspace changes.
  - name: functions
    description: Functions management (create, delete, list, etc.)
paths:
  /profiles/{profile_id}/session-config:
    delete:
      tags:
        - profiles
      summary: Profile Session Config Delete
      description: >-
        Remove the session settings saved on a profile. Sessions started with it
        then use only the settings of their own start request.
      operationId: profile_session_config_delete
      parameters:
        - name: profile_id
          in: path
          required: true
          schema:
            type: string
            title: Profile Id
        - name: x-notte-request-origin
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Notte-Request-Origin
        - name: x-notte-sdk-version
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Notte-Sdk-Version
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileSessionConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
      x-codeSamples: []
components:
  schemas:
    ProfileSessionConfigResponse:
      properties:
        profile_id:
          type: string
          title: Profile Id
        session_config:
          anyOf:
            - $ref: '#/components/schemas/ProfileSessionConfig'
            - type: 'null'
          description: The session config saved on the profile, or null when none is saved
      type: object
      required:
        - profile_id
      title: ProfileSessionConfigResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProfileSessionConfig:
      properties:
        proxies:
          anyOf:
            - items:
                $ref: '#/components/schemas/ProfileNotteProxy'
              type: array
              maxItems: 1
            - type: boolean
            - type: 'null'
          title: Proxies
          description: >-
            The Notte proxy to use, or true/false to enable or disable the
            default proxies. External proxies cannot be saved on a profile.
        browser_type:
          anyOf:
            - type: string
              enum:
                - chromium
                - chrome
            - type: 'null'
          title: Browser Type
          description: The browser type to use.
        solve_captchas:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Solve Captchas
          description: Whether to try to automatically solve captchas
        block_ads:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Block Ads
          description: Whether to block ads and trackers
        user_agent:
          anyOf:
            - type: string
            - type: 'null'
          title: User Agent
          description: The user agent to use for the session
        viewport_width:
          anyOf:
            - type: integer
            - type: 'null'
          title: Viewport Width
          description: The width of the viewport
        viewport_height:
          anyOf:
            - type: integer
            - type: 'null'
          title: Viewport Height
          description: The height of the viewport
        idle_timeout_minutes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Idle Timeout Minutes
          description: Idle timeout in minutes (resets on each operation).
        max_duration_minutes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Max Duration Minutes
          description: Maximum session lifetime in minutes.
        start_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Start Url
          description: >-
            An http(s) URL the session opens in its first tab before the start
            returns.
      additionalProperties: false
      type: object
      title: ProfileSessionConfig
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    ProfileNotteProxy:
      properties:
        type:
          type: string
          const: notte
          title: Type
          default: notte
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        country:
          anyOf:
            - $ref: '#/components/schemas/ProxyGeolocationCountry'
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
          title: City
        sticky_session:
          anyOf:
            - type: string
              pattern: ^[A-Za-z0-9-]{1,64}$
            - type: 'null'
          title: Sticky Session
          description: >-
            Keep the session's exit on one residential IP, shared with a proxy
            gateway credential minted with the same `sticky_session`. The IP
            holds while its residential device stays online and can change
            without notice; new connections with the same `sticky_session` then
            share a new IP. 1-64 letters, digits or hyphens.
      additionalProperties: false
      type: object
      title: ProfileNotteProxy
    ProxyGeolocationCountry:
      type: string
      enum:
        - ad
        - ae
        - af
        - ag
        - ai
        - al
        - am
        - ao
        - ar
        - at
        - au
        - aw
        - az
        - ba
        - bb
        - bd
        - be
        - bf
        - bg
        - bh
        - bi
        - bj
        - bm
        - bn
        - bo
        - bq
        - br
        - bs
        - bt
        - bw
        - by
        - bz
        - ca
        - cd
        - cg
        - ch
        - ci
        - cl
        - cm
        - cn
        - co
        - cr
        - cu
        - cv
        - cw
        - cy
        - cz
        - de
        - dj
        - dk
        - dm
        - do
        - dz
        - ec
        - ee
        - eg
        - es
        - et
        - fi
        - fj
        - fr
        - ga
        - gb
        - gd
        - ge
        - gf
        - gg
        - gh
        - gi
        - gm
        - gn
        - gp
        - gq
        - gr
        - gt
        - gu
        - gw
        - gy
        - hk
        - hn
        - hr
        - ht
        - hu
        - id
        - ie
        - il
        - im
        - in
        - iq
        - ir
        - is
        - it
        - je
        - jm
        - jo
        - jp
        - ke
        - kg
        - kh
        - kn
        - kr
        - kw
        - ky
        - kz
        - la
        - lb
        - lc
        - lk
        - lr
        - ls
        - lt
        - lu
        - lv
        - ly
        - ma
        - md
        - me
        - mf
        - mg
        - mk
        - ml
        - mm
        - mn
        - mo
        - mq
        - mr
        - mt
        - mu
        - mv
        - mw
        - mx
        - my
        - mz
        - na
        - nc
        - ne
        - ng
        - ni
        - nl
        - 'no'
        - np
        - nz
        - om
        - pa
        - pe
        - pf
        - pg
        - ph
        - pk
        - pl
        - pr
        - ps
        - pt
        - py
        - qa
        - re
        - ro
        - rs
        - ru
        - rw
        - sa
        - sc
        - sd
        - se
        - sg
        - si
        - sk
        - sl
        - sm
        - sn
        - so
        - sr
        - ss
        - st
        - sv
        - sx
        - sy
        - sz
        - tc
        - tg
        - th
        - tj
        - tm
        - tn
        - tr
        - tt
        - tw
        - tz
        - ua
        - ug
        - us
        - uy
        - uz
        - vc
        - ve
        - vg
        - vi
        - vn
        - ye
        - za
        - zm
        - zw
      title: ProxyGeolocationCountry
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: token

````

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