No Results
Get User API Key

EdgeCore version: 4.3.0

Method

GET /public/users/{userName}/apikey

Used to retrieve an API key of a specific user.

Parameters

Name Type Description Mandatory
userName
string Username of the user Yes

If domain name is not included (userName@domainName), it assumes the default domain.

refresh
boolean If set to true, the server generates a new API key. Otherwise, the server returns the current API key (may be null). No

 

cURL example

curl --location --request GET 'http://localhost:8080/public/users/jane/apikey' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' 

Example Response

OXV2a2cyLWgyNjZ2amszdjNmYnwmMkd6WXdRdXltbFdhYzRjXFAvT0BNU2BS

HTTP Response

Code Status Description
200 OK The request has succeeded.
404 Not Found The user could not be found.

Terms | Privacy