Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Get a user by PKI

Description

The GetByPki() method is used to get a user by PKI.

Package Details

Interface

IUserManager

Syntax

await _userManager.GetByPki(string pki)

Returns

Task<User>

API

GET
/api/v1/users/{pki}

Parameters

Parameter

Description

Parameter Type

pki

The PKI to search for

Path

Returns

On success, 200 Ok

When the PKI is not found, 404 Not Found

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

string pki = "MIIGhAIBAzCCBkoGCSqGSIb3DQEHAaCCBjsEggY3MI.";
await _userManager.GetByPki(pki);

 

  • No labels