Overview
GET
/oauth/signin/logoutoauthCentral single-logout (browser) — revoke + clear the SSO cookie, then 302 back
List logout.
Parameters
- clientIdquery · optionalstring
- returnquery · optionalstring
Responses
204
logged out (no return requested)
No response body.
302
redirect to the validated return (when clientId + return are given)
No response body.
400
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/oauth/signin/logout" \
-H "Authorization: Bearer YOUR_TOKEN"JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/oauth/signin/logout", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
},
});
const data = await res.json();