Authorizations
Body
application/json
Response
Successful response
curl --request POST \
--url https://zeropath.com/api/v1/repositories/set-max-pr-timeout \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repositoryId": "<string>",
"maxPrTimeoutMinutes": 123
}'
{
"ok": true
}
curl --request POST \
--url https://zeropath.com/api/v1/repositories/set-max-pr-timeout \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repositoryId": "<string>",
"maxPrTimeoutMinutes": 123
}'
{
"ok": true
}
Successful response