Hello and thanks for your question.
We don't provide CLI commands to acheive what you desire. Whne you say devices are you refereing to NAS/NAD or endpoints..... if its NAS/NAD, you should find what you want in this document.
ClearPass API Technical Document