Authorizations
API Key authentication. Provide your token in the 'Authorization' header. Example: Authorization: Bearer <YOUR_TOKEN>
Path Parameters
The unique identifier for the captive portal instance.
"9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"
Body
A human-readable name for the instance.
"Main Office Guest WiFi"
The authentication method for this captive portal.
oauth2, coupon "oauth2"
The duration in seconds that a user's session remains active after authentication. Minimum 1200, maximum 604800.
43200
Required if strategy is 'oauth2'. The ID of a pre-configured authentication integration.
"c4d5e6f7-8a9b-0c1d-2e3f-4a5b6c7d8e9f"
For OAuth2 strategy, the duration in seconds to open the walled garden for authentication. Minimum 120, maximum 900.
300
A collection of branding and appearance settings.
The text of the terms and conditions.
"By connecting, you agree to our terms of service..."
An array of sites and their associated subnets where this instance is active.
Response
The captive portal instance was updated successfully.
The unique identifier for the instance.
"9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"
The ID of the authentication integration used if the strategy is 'oauth2'. Null for 'coupon' strategy.
"c4d5e6f7-8a9b-0c1d-2e3f-4a5b6c7d8e9f"
The authentication method for this captive portal.
oauth2, coupon "oauth2"
A human-readable name for the instance.
"Main Office Guest WiFi"
The duration in seconds that a user's session remains active after successful authentication.
43200
For OAuth2 strategy, the duration in seconds that the walled garden is temporarily opened to allow the user to complete authentication with the identity provider.
300
A collection of branding and appearance settings.
The text of the terms and conditions that can be displayed to the user.
"By connecting, you agree to our terms of service..."
A list of sites and their subnets where this captive portal instance is active.
The timestamp when the instance was created.
"2025-10-29T12:00:00Z"
A temporary, signed URL to preview the captive portal's appearance.
"https://captive.altostr.at/preauth?token=eyJpdiI6..."