Stream: community

Topic: Delete profile of authenticationProviders


view this post on Zulip Andrés Díaz Hurtado (Sep 11 2024 at 16:14):

Good day.

In our dataverse configuration, we created by means of a .json according to OAuth Login Options to enter through Azure, this profile was named Microsoft. Now we need to delete this profile but have not found in the documentation how to do this. Thank you for your help

view this post on Zulip Philip Durbin 🚀 (Sep 11 2024 at 17:51):

Hmm. Can you list them with this?

curl http://localhost:8080/api/admin/authenticationProviders

view this post on Zulip Philip Durbin 🚀 (Sep 11 2024 at 17:52):

Once you know the id, you should be able to delete it with this: https://guides.dataverse.org/en/6.3/api/native-api.html#delete-an-authentication-provider

view this post on Zulip Andrés Díaz Hurtado (Sep 11 2024 at 18:47):

If it is correct, I have already listed them with the curl command http://localhost:8080/api/admin/authenticationProviders, but it is not clear to me how to perform the DELETE command from the OS.

view this post on Zulip Philip Durbin 🚀 (Sep 11 2024 at 19:24):

What is the id number?

view this post on Zulip Andrés Díaz Hurtado (Sep 11 2024 at 19:38):

"id":"microsoft"

view this post on Zulip Philip Durbin 🚀 (Sep 11 2024 at 19:42):

Oh! Weird! It's not a number?

view this post on Zulip Philip Durbin 🚀 (Sep 11 2024 at 19:43):

I guess not...

{
  "status": "OK",
  "data": [
    {
      "id": "builtin",
      "factoryAlias": "BuiltinAuthenticationProvider",
      "title": "Dataverse Local",
      "subtitle": "Datavers' Internal Authentication provider",
      "factoryData": "",
      "enabled": true
    }
  ]
}

view this post on Zulip Philip Durbin 🚀 (Sep 11 2024 at 19:44):

Anyway, this should do it:

curl -X DELETE http://localhost:8080/api/admin/authenticationProviders/microsoft

view this post on Zulip Andrés Díaz Hurtado (Sep 11 2024 at 20:50):

Perfect, I have already solved it with your help, thank you.

view this post on Zulip Philip Durbin 🚀 (Sep 11 2024 at 21:02):

Great! Thank you for flying Dataverse! :airplane_departure: :dataverse:


Last updated: Nov 01 2025 at 14:11 UTC