cisco-en-programmability / dnacentersdk

Cisco DNA Center Python SDK
https://dnacentersdk.readthedocs.io/en/latest/
MIT License
70 stars 31 forks source link

Users and Roles:: Delete user API #115

Closed JayaVamsiKrishnaSaiVolla closed 10 months ago

JayaVamsiKrishnaSaiVolla commented 1 year ago

Prerequisites

Describe the bug There was no method to delete the User and delete the role in user_and _roles could you please bring these two methods as well.

DELETE USER API : "/dna/system/api/v1/user/${userId}" DELETE ROLE API : "/dna/system/api/v1/role/${roleId}"

Environment (please complete the following information):

Additional context Add any other context about the problem here.

fmunozmiranda commented 1 year ago

Hi @JayaVamsiKrishnaSaiVolla, By documentation it can be seen that these methods are not supported or at least included in version 2.3.5.3 of the Cisco DNA Center API:

image

fmunozmiranda commented 10 months ago

Hey actually I'm going to close this issue.

But you can use this apis with this: https://github.com/cisco-en-programmability/dnacentersdk/blob/master/dnacentersdk/api/custom_caller.py

Hope this help you.