Activate an ActiveContext connection
PUT
/api/v4/admin/active_context/connections/activate
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
connection_id
required
Connection ID
integer
Example generated
{ "connection_id": 1}Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer
name
string
adapter_class
string
prefix
string
active
boolean
created_at
string
updated_at
string
Example
{ "id": 1234, "name": "elastic", "adapter_class": "ActiveContext::Databases::Elasticsearch::Adapter", "prefix": "gitlab", "active": true, "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