Skip to content

Update enabled namespace state

PUT
/api/v4/admin/active_context/code/enabled_namespaces
Media type application/json
object
namespace_id
required
One of:
string
nullable
state
required

State (pending or ready)

string
>= 1 characters
Allowed values: pending ready
connection_id

Connection ID (defaults to active connection)

integer
nullable

OK

Media type application/json
object
id
integer
namespace_id
integer
connection_id
integer
state
string
created_at
string
updated_at
string
Example
{
"id": 1,
"namespace_id": 9970,
"connection_id": 1234,
"state": "pending",
"created_at": "2023-01-01T00:00:00.000Z",
"updated_at": "2023-01-01T00:00:00.000Z"
}

Bad Request

401 Unauthorized

403 Forbidden

404 Not found