UserClouds logo
Userstore/Api

Create User With Mutator

This endpoint creates a user and updates it with the specified mutator.

POST
/userstore/api/users
context?object

Empty Object

id?string
Formatuuid
mutator_id?string
Formatuuid
organization_id?string
Formatuuid
region?string
row_data?object

Empty Object

Response Body

curl -X POST "https://your-tenant-name.tenant.userclouds.com/userstore/api/users" \
  -H "Content-Type: application/json" \
  -d '{}'
const body = JSON.stringify({})

fetch("https://your-tenant-name.tenant.userclouds.com/userstore/api/users", {
  body
})
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
  "strings"
)

func main() {
  url := "https://your-tenant-name.tenant.userclouds.com/userstore/api/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/userstore/api/users"
body = {}
response = requests.request("POST", url, json = body, headers = {
  "Content-Type": "application/json"
})

print(response.text)
"248df4b7-aa70-47b8-a036-33ac447e668d"
Empty
Empty
Empty
Empty