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

# VFS removexattr

> Remove an extended attribute.



## OpenAPI

````yaml /openapi.yaml post /v1/workspaces/{workspace_id}/vfs/removexattr
openapi: 3.1.0
info:
  title: Mirage API
  version: '0.1'
servers:
  - url: http://127.0.0.1:8765
    description: A local daemon on its default port
security:
  - bearerAuth: []
paths:
  /v1/workspaces/{workspace_id}/vfs/removexattr:
    post:
      tags:
        - VFS
      summary: VFS removexattr
      description: Remove an extended attribute.
      operationId: endpoint_v1_workspaces__workspace_id__vfs_removexattr_post
      parameters:
        - $ref: '#/components/parameters/workspaceId'
        - $ref: '#/components/parameters/sessionId'
        - name: explain
          in: query
          description: Return what the call would do without running it.
          required: false
          schema:
            type: boolean
            default: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                path:
                  type: string
                name:
                  type: string
                nofollow:
                  type: boolean
              required:
                - path
                - name
      responses:
        '200':
          description: What the call returns; with explain=true, its explanation
          content:
            application/json:
              schema:
                anyOf:
                  - type: 'null'
                  - $ref: '#/components/schemas/VfsExplanation'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
        '429':
          $ref: '#/components/responses/429'
components:
  parameters:
    workspaceId:
      name: workspace_id
      in: path
      required: true
      description: The workspace's id.
      schema:
        type: string
    sessionId:
      name: session_id
      in: query
      required: false
      description: The session the call acts as; the default session when absent.
      schema:
        type: string
  schemas:
    VfsExplanation:
      allOf:
        - $ref: '#/components/schemas/Explanation'
        - type: object
          properties:
            call:
              type: string
            paths:
              items:
                type: string
              type: array
            error:
              type: string
              description: The errno name the call would raise, empty when it runs.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Explanation:
      type: object
      description: What a call would do, without doing it (explain=true).
      properties:
        type:
          type: string
          description: line, command or vfs.
        outcome:
          type: string
          enum:
            - ALLOW
            - DENY
            - ASK
        reason:
          type: string
          description: Why, in the deciding policy's words.
        source:
          type: string
          description: Where in the profile the deciding rule is written.
        answers:
          type: array
          items:
            type: object
          description: Every policy's answer.
        refusal:
          anyOf:
            - type: object
            - type: 'null'
      required:
        - outcome
    Error:
      type: object
      properties:
        detail:
          description: What went wrong, as text or a structured record.
        errno:
          type: string
          description: The errno of a failed file call, such as ENOENT.
        refusal:
          type: object
          description: The policy refusal, when a policy refused the call.
      required:
        - detail
    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
  responses:
    '401':
      description: The token is missing or wrong
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
        text/plain:
          schema:
            type: string
            description: The Python daemon answers Unauthorized as plain text.
    '403':
      description: A policy or mount mode refused the call
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '404':
      description: The workspace, session, job or file does not exist
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '429':
      description: Past a rate limit, or a new session past max_sessions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
            minimum: 0
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        The server's token (MIRAGE_AUTH_TOKEN) or a JWT. A daemon in the default
        local mode with no token accepts requests without one.

````

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