Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions nebius/iam/v1/session_management_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,20 @@ option java_package = "ai.nebius.pub.iam.v1";
service SessionManagementService {
option (api_service_name) = "cpl.iam";

// Revoke sessions/tokens
rpc Revoke(RevokeSessionRequest) returns (RevokeSessionResponse);
}

message RevokeSessionRequest {
oneof revoke {
string service_account_id = 3; // revoke all for specific service account - to revoke logout from all sessions for user
// Revoke all tokens for a service account.
string service_account_id = 3;

bool all_my_active = 6; // revoke all active session of current user
// Revoke all active sessions and access tokens for the current user.
bool all_my_active = 6;

string tenant_user_account_id = 7; // revoke all for specific tenant user - to revoke logout from all sessions for user
// Revoke all active sessions and tokens for a tenant user.
string tenant_user_account_id = 7;
}
}

Expand Down
Loading