Update Spotlight Query

Updates a query.

put
Path parameters
idstringRequired

id of entity

Body
namestringOptional
templatestringOptional
rqlFilterstringOptional
scopestringOptional
moduleIdstringOptional
moduleCodestringOptional
Responses
201
Created
application/json
put
PUT /public/v1/spotlight/queries/{id} HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 105

{
  "name": "text",
  "template": "text",
  "rqlFilter": "text",
  "scope": "text",
  "moduleId": "text",
  "moduleCode": "text"
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-07-04T03:49:03.804Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-07-04T03:49:03.804Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "name": "text",
  "template": "text",
  "invalidationInterval": "text",
  "invalidateOnDateChange": true,
  "filter": "text",
  "scope": "text"
}

Last updated

Was this helpful?