Upload a zip file containing custom web assets such as HTML, CSS, and JavaScript files, then replace the default sign-in experience with the custom UI assets.
Responses
-
An JSON object containing the custom UI assets ID.
-
Bad request. The request body is invalid.
-
Unauthorized
-
Bring your UI is not available under the current entitlements, including when the self-hosted license grace period has ended.
-
Failed to unzip or upload the custom UI assets to storage provider.
POST
/api/sign-in-exp/default/custom-ui-assets
curl \
--request POST 'https://[tenant_id].logto.app/api/sign-in-exp/default/custom-ui-assets' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: multipart/form-data"
Response examples (200)
{
"customUiAssetId": "string"
}