Data Types

GetUser Method

Description

Retrieves information about a single user.

HTTP Request

GET https://api.skeddly.com/api/Users/<id>

URL Parameters

id

ID of the user to retrieve.

Required: Yes

Query Parameters

include

A comma-separated list of extra extra data to include.

Type: string

Valid Values:

  • managedPolicies

Required: No

Returns

A User object.

Sample Request

HTTP
Bash
HTTP
GET /api/User/u-00000001 HTTP/1.1
Host: api.skeddly.com
Authorization: AccessKey <api key>
Bash
curl "https://api.skeddly.com/api/Users/u-00000001" \
-H "Authorization: AccessKey <api key>"

Sample Response

{
"emailAddress": "user@example.com",
"lastAccessDate": "2016-06-09T11:00:00Z",
"mfaType": "google-auth",
"status": "enabled",
"userId": "u-00000001",
"username": "user1"
}