/oauth2/register endpoint is defined in:
Use this endpoint to create, read, update, and delete client application profiles.
Specify the realm in the request URL; for example:
The endpoint supports the following HTTP methods:
Create a client profile.
Read a client profile.
Update a client profile.
Delete a client profile.
Identity Cloud requires configuration to allow dynamic registration. For details, refer to Dynamic client registration.