Authn/Users
Create User
This endpoint creates a user.
authn_type?string
id?string
Format
uuid
oidc_issuer_url?string
oidc_provider?integer
Value in
"custom" | "facebook" | "google" | "linkedin" | "microsoft" | "none" | "unsupported"
oidc_subject?string
organization_id?string
Format
uuid
password?string
profile?object
Empty Object
region?string
username?string
Response Body
curl -X POST "https://your-tenant-name.tenant.userclouds.com/authn/users" \
-H "Content-Type: application/json" \
-d '{}'
const body = JSON.stringify({})
fetch("https://your-tenant-name.tenant.userclouds.com/authn/users", {
body
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://your-tenant-name.tenant.userclouds.com/authn/users"
body := strings.NewReader(`{}`)
req, _ := http.NewRequest("POST", url, body)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://your-tenant-name.tenant.userclouds.com/authn/users"
body = {}
response = requests.request("POST", url, json = body, headers = {
"Content-Type": "application/json"
})
print(response.text)
{
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"profile": {
"property1": null,
"property2": null
},
"updated_at": 0
}
Empty
Empty
Empty
Empty