Update Context - Lagoon/LagoonSecurity-API GitHub Wiki

Updates the specified context in the URL parameter {cname}. If no activationUrl is inserted, the activation page presented to created users will be a register page of Lagoon® Security.

No partial update is supported so all fields not passed in input json are considered as being an update to empty. For each context you can edit name, description, url and activationUrl.

PUT /contexts/{cname}

Parameters:

cname: Context Name

Input Example:

{
   *"name": "editado",
    "description": "Default Context",
    "url": "http://www.example.com",
    "activationUrl": "http://www.example.com/activation" 
}

Output Example:

{
    "id": 19,
    "enable": true, 
    "defaultContext": false,
    "name": "editado",
    "description": "Default Context",
    "activationUrl": "http://www.example.com/activation",
    "url": "http://www.example.com" 
}
⚠️ **GitHub.com Fallback** ⚠️