---
updatedAt: 2025-05-07T13:05:30.000Z
agentTools:
  projectIndex: https://docs.pcaasa.com/llms.txt
---

# Spend Control Value Group Item Delete V1

Delete a spend control value group item by 'deactivating' it

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "pcaasa-processor-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://processor-api.uat1.pcaasa.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/?call=spend-control-value-group-item-delete-v1": {
      "post": {
        "summary": "Spend Control Value Group Item Delete V1",
        "description": "Delete a spend control value group item by 'deactivating' it",
        "operationId": "spend-control-value-group-item-delete-v1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "app": {
                    "type": "string",
                    "description": "customer-spendcontrol",
                    "default": "customer-spendcontrol"
                  },
                  "object": {
                    "type": "string",
                    "description": "spend-control-value-group-item",
                    "default": "spend-control-value-group-item"
                  },
                  "action": {
                    "type": "string",
                    "description": "delete",
                    "default": "delete"
                  },
                  "version": {
                    "type": "integer",
                    "description": "1",
                    "default": 1,
                    "format": "int32"
                  },
                  "sessionUuid": {
                    "type": "string",
                    "description": "The unique identifier that pertains to a particular session and is used to validate permissions <br><br>Data type: uuid<br>Required: yes<br>Letters: yes<br>Numbers: yes<br>Special: yes*<br>Min: 36<br>Max: 36"
                  },
                  "externalTranUuid": {
                    "type": "string",
                    "description": "Identifier for tracking this API call <br><br>Data type: uuid<br>Required: no<br>Letters: yes<br>Numbers: yes<br>Special: yes*<br>Min: 36<br>Max: 36"
                  },
                  "spendControlValueGroupItemUuid": {
                    "type": "string",
                    "description": "The uuid of the spend control value group item being deleted <br><br>Data type: uuid<br>Required: yes<br>Letters: yes<br>Numbers: yes<br>Special: yes*<br>Min: 36<br>Max: 36"
                  },
                  "debug": {
                    "type": "boolean",
                    "description": "0 = debug off<br>1 = debug on<br>Default is set to 0 <br><br>Data type: boolean<br>Required: no<br>Letters: no<br>Numbers: yes<br>Special: no<br>Min: 1<br>Max: 1",
                    "default": false
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "app": "customer-spendcontrol",
                    "object": "spend-control-value-group-item",
                    "action": "delete",
                    "version": 1,
                    "sessionUuid": "90355324-6950-4472-A1D8-1118A8CC0E4F",
                    "externalTranUuid": null,
                    "spendControlValueGroupItemUuid": "4CC18170-5161-4517-B470-A4A7F113C54B",
                    "debug": 0
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"results\": [\n        {\n            \"spendControlValueGroupItemUuid\": \"4CC18170-5161-4517-B470-A4A7F113C54B\",\n            \"success\": true\n        }\n    ]\n}"
                  },
                  "Error": {
                    "value": "{\n    \"errors\": [\n        {\n            \"name\": \"groupItemUuid\",\n            \"message\": \"does not exist\",\n            \"msg\": \"does not exist\",\n            \"code\": 112\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "results": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "spendControlValueGroupItemUuid": {
                                "type": "string",
                                "example": "4CC18170-5161-4517-B470-A4A7F113C54B"
                              },
                              "success": {
                                "type": "boolean",
                                "example": true,
                                "default": true
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Error",
                      "type": "object",
                      "properties": {
                        "errors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "example": "groupItemUuid"
                              },
                              "message": {
                                "type": "string",
                                "example": "does not exist"
                              },
                              "msg": {
                                "type": "string",
                                "example": "does not exist"
                              },
                              "code": {
                                "type": "integer",
                                "example": 112,
                                "default": 0
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```