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

# Update a service note



## OpenAPI

````yaml /docs/service-api.yaml put /services/{service}/notes/{note}
openapi: 3.1.0
info:
  title: Spartan Service API
  version: 1.1.0
  description: >-
    Service inventory, lifecycle, billing, pricing, notes, members, addons,
    provider service details, upgrades, downgrades, and evidence. All operations
    require a bearer API token with the documented `x-permission`.
servers:
  - url: https:/docs.dezerx.com/api/application
    description: Development
security:
  - bearerAuth: []
tags:
  - name: Services
  - name: Lifecycle
  - name: Billing
  - name: Members
  - name: Service Details
  - name: Evidence
paths:
  /services/{service}/notes/{note}:
    parameters:
      - $ref: '#/components/parameters/ServiceId'
      - name: note
        in: path
        required: true
        schema:
          type: integer
    put:
      tags:
        - Services
      summary: Update a service note
      requestBody:
        $ref: '#/components/requestBodies/Note'
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '404':
          $ref: '#/components/responses/Error'
components:
  parameters:
    ServiceId:
      name: service
      in: path
      required: true
      schema:
        type: integer
  requestBodies:
    Note:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NoteInput'
  responses:
    Success:
      description: Successful response
      content:
        application/json:
          schema:
            type: object
            required:
              - data
              - meta
            properties:
              data: {}
              message:
                type: string
              meta:
                type: object
    Error:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    NoteInput:
      type: object
      required:
        - admin_user_id
        - status
        - note
        - is_public
      properties:
        admin_user_id:
          type: integer
        status:
          enum:
            - info
            - todo
            - doing
            - done
            - important
            - urgent
        note:
          type: string
          maxLength: 2000
        is_public:
          type: boolean
    Error:
      type: object
      required:
        - error
        - request_id
      properties:
        error:
          type: object
          required:
            - code
            - message
            - details
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
        request_id:
          type: string
          format: uuid
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````