client-id is required and is the primary key. client-secret is generated automatically unless one is supplied; the generated value is returned in this response and cannot be retrieved later except with include-secret=yes on a read.client-id returns 409 rather than overwriting the existing client's secret — use PUT /oauth-clients/{client-id} to edit.Authorization: Bearer ********************curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/oauth-clients' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client-id": "horizon.example",
"redirect-uri": "https://portal.example.com/oauth/callback"
}'{
"client-id": "horizon.example",
"client-secret": "0f5c2a1b9d8e4f7a0c3b6d1e8f2a4c9b",
"redirect-uri": "https://portal.example.com/oauth/callback",
"notes": "The client secret is shown here on create. It can be read back later only with include-secret=yes."
}