Skip to content

Reset environment inactivity threshold

DELETE
/api/v1/environments/inactive-hours/{env}
curl --request DELETE \
--url https://example.com/api/v1/environments/inactive-hours/example \
--header 'Authorization: <Authorization>'
env
required
string

Environment name or UUID

OK

Media typeapplication/json
object
inactive_hours
integer
>= 1 <= 2562047
override_hours
integer
nullable >= 1 <= 2562047
source
string
Allowed values: environment global default
Example
{
"source": "environment"
}

Unauthorized

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}

Forbidden

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}

Not Found

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}

Internal Server Error

Media typeapplication/json
object
code
string
error
string
Examplegenerated
{
"code": "example",
"error": "example"
}