Ziwako Docs
ZiwakoRéférence APIServiceTypes

Delete ServiceType

DELETE
/service_types/{id}

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string

Response Body

application/json

curl -X DELETE "https://example.com/service_types/string"
{  "type": "success",  "code": "string",  "status": 0,  "message": "string",  "data": {    "id": "string",    "name": "string",    "description": "string",    "illustration": "string",    "serviceAbilities": [      {        "name": "string",        "description": "string"      }    ],    "servicePricing": [      {        "label": "string",        "pricing": {          "amount": 0,          "currency": "string",          "type": "rental",          "frequency": "daily",          "promotion": 0,          "fee": 0        },        "strategy": "fixed",        "dynamicConfig": {          "formule": "string",          "externalSources": [            {              "sourceId": "string",              "paramMapping": {}            }          ],          "dataSource": {}        }      }    ],    "serviceFeed": {      "amount": 0,      "currency": "string",      "type": "rental",      "frequency": "daily",      "promotion": 0,      "fee": 0    },    "requiredCompetenceTypes": [      "string"    ],    "relatedProductTypes": [      "string"    ],    "isPublic": true,    "noteOfCaution": "string",    "owner": "string",    "servicePrice": {      "amount": 0,      "currency": "string",      "type": "rental",      "frequency": "daily",      "promotion": 0,      "fee": 0    },    "attributeJSONSchema": {},    "formUISchema": {},    "presentationUISchema": {}  }}