Settings
Get the partner's default pentest duration
Return the default pentest duration for the caller's partner.
The value comes from the partner's active subscription.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Response Body
application/json
curl -X GET "https://api.ethiack.com/v1/settings/default-pentest-duration/"{
"default_pentest_duration_days": 0,
"editable": true,
"duration": 0,
"unit": "string"
}Update the partner's default pentest duration (deprecated path) PUT
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.
Update the partner's default pentest duration PUT
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.