Skip to content

Remove enrolling package

DELETE
/api/v1/environments/{env}/packages/{id}
curl --request DELETE \
--url https://osctrl.net/api/v1/environments/example/packages/1 \
--header 'Authorization: <Authorization>'

Removes an enrolling package from an environment.

env
required
string

Environment name or UUID

id
required
integer

Package ID

No Content

Bad request

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

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"
}