- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Version 2023.01
We have configured a REST API solution and on the way we have created several clientID/clientsecrets. How can we adminster these clientid's.
Some of them we want to delete, often we want to make a change. I can't even find a way to list them :- )
Hope for an answer
Are Sivertsen
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AreSivertsen ,
you can list all clients and their properties by making a GET request to <viya-host>/SASLogon/oauth/clients.
Deleting a client is done by making a DELETE request to <viya-host>/SASLogon/oauth/clients/<client-id>.
Best, David
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AreSivertsen ,
you can list all clients and their properties by making a GET request to <viya-host>/SASLogon/oauth/clients.
Deleting a client is done by making a DELETE request to <viya-host>/SASLogon/oauth/clients/<client-id>.
Best, David
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AreSivertsen,
@DavidHD beat me to the answer. I'll add a link to the SAS Logon API doc for reference. You will see all of the client end points defined.
Join us for SAS Community Trivia
SAS Bowl L, PROC HTTP
Wednesday, February 19, 2024, at 10:00 a.m. ET | #SASBowl
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thank you both. This solved it
Best regards
Are
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
It is already solved. Just want to mention, that there is a sas-viya CLI, see here for doc