Client code generation via API call
I created new client (server type) in REST API , received client ID and client Secret, there is one more key called code , e.g, for Self client type we need to generate it by giving it scope and time duration.
Is it possible to generate this code via API call or any other way(For server/web based client type). I already used one way by executing and url with client_secret and client_id which returns code?