Update the partner's default pentest duration (deprecated path)
Set the default pentest duration for the caller's partner.
Answers the write envelope, not the updated setting: a caller that needs the stored value reads it back from the GET.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://api.ethiack.com/v1/settings/default-event-duration/" \ -H "Content-Type: application/json" \ -d '{ "default_pentest_duration_days": 1, "unit": "days" }'{
"code": 0,
"description": "string",
"id": 0,
"success": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get the partner's default pentest duration (deprecated path) GET
Return the default pentest duration for the caller's partner. The value comes from the partner's active subscription.
Get the partner's default pentest duration GET
Return the default pentest duration for the caller's partner. The value comes from the partner's active subscription.