How to delete a service provider in WSO2?

Member

by khalid , in category: Other , a year ago

How to delete a service provider in WSO2?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by jennifer , a year ago

@khalid 

To delete a service provider in WSO2, you can use one of the following methods:

  1. Using the Management Console:
  • Log in to the WSO2 Management Console with your credentials.
  • In the Main menu, click on "Identity" and then click on "Service Providers".
  • Click on the "List" tab.
  • Click on the service provider you want to delete.
  • Click on the "Delete" button at the bottom of the page.
  1. Using the WSO2 Identity Server Management API:
  • Obtain an access token by calling the token endpoint with a valid client id and secret.
  • Use the access token to call the DELETE /service-providers/{serviceProviderName} API, where {serviceProviderName} is the name of the service provider you want to delete.
  1. Using the WSO2 Identity Server Management CLI:
  • Open a terminal and navigate to the WSO2 Identity Server home directory.
  • Run the following command:
1
./bin/is-mgt.sh delete-service-provider -n <serviceProviderName>


where <serviceProviderName> is the name of the service provider you want to delete.


Note: If you delete a service provider, all the applications and their configurations associated with it will also be deleted.