cisco-en-programmability/dnacentersdk

Users and Roles:: Delete user API

Closed this issue · 2 comments

Prerequisites

  • Have you tested the operation in the API directly?
  • Do you have the latest SDK version?
  • Review the compatibility matrix before opening an issue.

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):

  • Cisco DNA Center Version and patch: 2.3.7
  • Python version: 3.8
  • SDK version: 2.6.4
  • OS Version:

Additional context
Add any other context about the problem here.

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

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.