How to push individual self-signed certs to devices

New Contributor

We're using an always on VPN client that uses certificate(pkcs12) based authentication and we are generating certificates by user. Is there away we can push the users certificate to their devices with the API?

it seems like we can do this in the UI, where we create a configuration profile per users with that cert, and then push the config profile to that user, but thats a lot of clicking in the UI.

I tried to go through the API docs but couldn't really make the connection on how to do it there.