/hoseassembly/{hoseAssemblyId}/customers/delete v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
Hose Assembly
postHoseAssemblyIdCustomerDelete
Code samples
const inputBody = '{
"type": "object",
"properties": {
"params": {
"type": "object",
"required": [
"customerId"
],
"properties": {
"customerId": {
"type": "string",
"description": "The ID of the customer for whom the hose assembly data should be deleted."
}
}
}
}
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('https://goldleaf.app/api/v1/hoseassembly/{hoseAssemblyId}/customers/delete',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
POST /hoseassembly/{hoseAssemblyId}/customers/delete
Delete customer-specific hose assembly properties
Deletes organization-specific metadata (e.g., part number, revision, or name) associated with a hose assembly for a specified customer.
Body parameter
{
"type": "object",
"properties": {
"params": {
"type": "object",
"required": ["customerId"],
"properties": {
"customerId": {
"type": "string",
"description": "The ID of the customer for whom the hose assembly data should be deleted."
}
}
}
}
}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| hoseAssemblyId | path | string | true | The ID of the hose assembly to modify. |
| body | body | object | true | none |
| » params | body | object | false | none |
| »» customerId | body | string | true | The ID of the customer for whom the hose assembly data should be deleted. |
Example responses
200 Response
{
"type": "string"
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | A response description | string |
| 500 | Internal Server Error | Server error | string |
