Replaces the entire redirect URI list for an app. Idempotent.
Request
Bearer <API_KEY> from Console > Developers > Workspace API Keys.
Path parameters
Client identifier of the app.
Request body
Full replacement list of redirect URIs.
Response
Returns the stored redirect URIs and total count.
curl -X PUT \
-H "Authorization: Bearer sk_workspace_test_..." \
-H "Content-Type: application/json" \
-d '{"redirectUris":["https://app.example.com/callback","https://app.example.com/alt"]}' \
"https://sandbox.api.hopae.com/connect/v1/apps/abc123/redirect-uris"
{
"redirect_uris": [
"https://app.example.com/callback",
"https://app.example.com/alt"
],
"total": 2
}
Validation: HTTPS required in production (HTTP only allowed for localhost), no fragments, length ≤ 2048, host required, duplicates removed, host lowercased, max 20 URIs.