:thread: [Ory Hydra] token revocation use-case
# ory-selfhosting
b
🧵 [Ory Hydra] token revocation use-case
I see there is an API:
GET /admin/oauth2/auth/sessions/consent?subject=<sub>
. that tells about all the Oauth2 processed requests. there is another API:
/oauth2/revoke
that can revoke any given access-token. now i am trying to connect the dots using these APIs. My use-case: Let us say a customer has given multiple Access-Token to a specific clients, now he would want to remove only one of those Access token, is there any way around it? currently there is one API:
DELETE /admin/oauth2/auth/sessions/consent?subject=<sub>&client=<client-id>
, but it removes all the access token given to client. cc: @magnificent-energy-493 @steep-lamp-91158
m