syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "onprem/user/v1/api_key.proto"; import "onprem/user/v1/error.proto"; message ApiKeyFilter { optional string created_by_user_id = 1; } message CreateApiKeyRequest { ApiKey api_key = 1; } message CreateApiKeyResponse { ApiKey api_key = 1; } message DeleteApiKeyRequest { string id = 1; } message DeleteApiKeyResponse { } message FindApiKeyRequest { string id = 1; } message FindApiKeyResponse { ApiKey api_key = 1; } message FindApiKeysRequest { ApiKeyFilter filter = 1; } message FindApiKeysResponse { repeated ApiKey api_keys = 1; } message ValidateApiKeyRequest { ApiKey api_key = 1; } message ValidateApiKeyResponse { repeated ErrorObject errors = 1; }