Drop Index

By using this operation, you can delete a cache index at run time when golden record cache is defined and started.

HTTP Method
Endpoint URL See Endpoint
Resource /fastcache/metadata/dropIndex
Body Parameters Specify the following parameters:
Name Description Data Type
Required
repositoryName Repository name on which the operation is to be performed string
cacheIndexList List of indexes which you want to create on the repository space. List of string
indexName Name of the index that you want to delete string
Media Type application/json
Request Model
{
  "repositoryName": "string",
  "cacheIndexList": [
    {
      "indexName": "string",
      "indexType": "string",
      "indexColumnNames": [
        "string"
      ]
    }
  ],
  "fieldsToBeAdded": [
    {
      "name": "string",
      "displayName": "string",
      "dataType": "string"
    }
  ]
}
Response Model
 {
responseMessages:	[
 {
"code": "string",
"message": "string",
"type":	"string",
]
"success":	"boolean"
  }
  ]
}
]
Request Example
{
  "repositoryName": "PERSON",
  "cacheIndexList": [
    {
      "indexName": "INDEX__PRODUCTID"
    }
  ]
}
Response Example
[
  {
    "code": "FC-00008",
    "message": "Index dropped - INDEX__PRODUCTID",
    "type": "Info"
  }
]
Success Response Example:

Code: 200 successful operation

Error Response If the response is unsuccessful, either of the following error code is displayed:

Example:

Code: 400 Parameters required are missing

OR

Code: 500 Invalid Request

For error code response, see Error Handling .