Ziwako Docs
ZiwakoRéférence APIScanScopes

Add Service To Scope

PUT
/scan_scopes/{id}/add_service

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/scan_scopes/string/add_service" \  -H "Content-Type: application/json" \  -d '{    "serviceId": "string"  }'
{  "type": "success",  "code": "string",  "status": 0,  "message": "string",  "data": {    "id": "string",    "title": "string",    "serviceList": [      {        "serviceType": "competence",        "service": "string"      }    ]  }}