Resources Setting Get Security Setting
Get Security Setting
Http Method
GET
End Point
/~api/settings/security
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
{
"enableAnonymousAccess" : true ,
"enableSelfRegister" : true ,
"selfRegisterAsGuest" : true ,
"enableSelfDeregister" : true ,
"defaultLoginGroupName" : "string" ,
"enforce2FA" : true ,
"corsAllowedOrigins" : [ "string" ]
}
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> https://git.codedune.app/~api/settings/security
Please wait...
Page is in error, reload to recover