Skip to main content

Update Simple auth settings

POST <your-unleash-url>/api/admin/auth/simple/settings

Authorization

name: Authorizationtype: apiKeyin: header

Enable or disable simple authentication (username/password)

Request

Body

required

passwordAuthSchema

  • enabled boolean

    Is username/password authentication enabled

Responses

passwordAuthSchema

Schema
  • enabled boolean

    Is username/password authentication enabled

Authorization

name: Authorizationtype: apiKeyin: header

Request

Base URL
<your-unleash-url>
apiKey
Body required
{
"enabled": false
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/auth/simple/settings' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"enabled": false
}'