Release a detached app: someone owns it now, and deleting the environment no longer keeps its namespace.
POST
/api/v1/projects/{project}/environments/{environment}/detached/{id}/release
const url = 'https://example.com/api/v1/projects/example/environments/example/detached/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/release';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/projects/example/environments/example/detached/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/releaseParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”project
required
string
Project name
environment
required
string
Environment short name
id
required
string format: uuid
The detached app’s id
Responses
Section titled “Responses”Released
Media typeapplication/json
Problem Details body.
object
code
required
Stable machine-readable code, e.g. forbidden.
string
title
required
Short human readable title.
string
status
required
HTTP status.
integer format: int32
detail
Details, if safe to expose.
string | null
Example
{ "code": "forbidden"}Not complete yet, or released already
Media typeapplication/json
Problem Details body.
object
code
required
Stable machine-readable code, e.g. forbidden.
string
title
required
Short human readable title.
string
status
required
HTTP status.
integer format: int32
detail
Details, if safe to expose.
string | null
Example
{ "code": "forbidden"}