Releasesv0.1.0
Users

Get one end user

GET
/v1/users/{id}

Authorization

tenantKey
headerAuthorizationBearer <token>

Tenant API key, ohs_sk_ + 43 base62 characters.

Path Parameters

id*string
Formatuuid

Header Parameters

Authorization*string

The tenant API key, as a bearer secret.

Response Body

The user.

application/json
  1. response
id*string
Formatuuid
external_ref*string|null
status*string
Value in"active""deleting"
created_at*string
Formatdate-time
curl -X GET 'http://localhost:8080/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Authorization: Bearer ohs_sk_...'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "external_ref": "string",  "status": "active",  "created_at": "2019-08-24T14:15:22Z"}
Edit on GitHub