Create Context - Lagoon/LagoonSecurity-API GitHub Wiki
Creates a new context. The copycontext parameter can be used to copy profiles from the indicated context. If not set profiles are copied from the context configured as default.
POST /contexts
Input Example:
{
*"name": "context name",
"activationUrl": "www.example.pt",
"url": "www.admin.pt",
"description": "context description",
"copycontext": "test"
}
Output Example:
{
"id": 23,
"enable": true,
"defaultContext": false,
"name": "context name",
"description": "context description",
"activationUrl": "http://www.example.pt",
"url": "http://www.admin.pt"
}