---
agentTools:
  projectIndex: https://image-relay-api.readme.io/llms.txt
---

# Update keyword set

Update the name of a specific keyword set

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Image Relay's API",
    "version": "1.3"
  },
  "servers": [
    {
      "url": "https://api.imagerelay.com/api/v2/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "bearer",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/keyword_sets/{keyword_set_id}": {
      "put": {
        "summary": "Update keyword set",
        "description": "Update the name of a specific keyword set",
        "operationId": "update-keyword-set-1",
        "parameters": [
          {
            "name": "keyword_set_id",
            "in": "path",
            "description": "The ID of the keyword set to update.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The name for the new keyword set."
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "name": "New keyword set name"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\t\n  \"id\": 321,\n  \"name\": \"New keyword set name\",\n  \"created_at\": \"2015-06-15T11:30:21Z\",\n  \"updated_at\": \"2015-06-15T11:30:21Z\",\n  \"deleted_at\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 321,
                      "default": 0
                    },
                    "name": {
                      "type": "string",
                      "example": "New keyword set name"
                    },
                    "created_at": {
                      "type": "string",
                      "example": "2015-06-15T11:30:21Z"
                    },
                    "updated_at": {
                      "type": "string",
                      "example": "2015-06-15T11:30:21Z"
                    },
                    "deleted_at": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6369721ac49880008c871966:6369721ac49880008c871993"
}
```