PUT
/
api
/
v1
/
apps
/
{uuid}
/
security
Update security settings
curl --request PUT \
  --url https://app.miget.com/api/v1/apps/{uuid}/security \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "allow_connections": true,
  "basic_auth_enabled": true,
  "basic_auth_username": "<string>",
  "basic_auth_password": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

Application UUID

Body

application/json

Update security settings

allow_connections
boolean

Allow internal network connections from other Miget applications in this workspace

basic_auth_enabled
boolean

Enable Basic Authentication for the application

basic_auth_username
string

Username for Basic Authentication (required when basic_auth_enabled is true)

basic_auth_password
string

Password for Basic Authentication (required when basic_auth_enabled is true, leave blank to keep current password)

Response

Update security settings

Api_V1_Entities_Message model

message
string
required

Response message