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

# Update a tracked keyword active flag or relevance



## OpenAPI

````yaml /api-reference/openapi.json patch /apps/{id}/keywords/{keywordId}
openapi: 3.0.0
info:
  title: asobeast API
  description: Self hosted ASO toolkit API
  version: 0.4.0
  contact: {}
servers:
  - url: http://localhost:3000/api/backend
    description: Web origin proxy
  - url: http://localhost:4000
    description: Direct API
security:
  - personalApiToken: []
tags: []
paths:
  /apps/{id}/keywords/{keywordId}:
    patch:
      tags:
        - keywords
      summary: Update a tracked keyword active flag or relevance
      operationId: KeywordsController_update
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
        - name: keywordId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateKeywordDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
components:
  schemas:
    UpdateKeywordDto:
      type: object
      properties:
        active:
          type: boolean
          example: false
        relevance:
          type: number
          nullable: true
          minimum: 1
          maximum: 100
          example: 80
  securitySchemes:
    personalApiToken:
      scheme: bearer
      bearerFormat: asob
      type: http

````