Skip to main content
Version: 1.2.0

Create a new user in a realm

POST 

/user/:realm/users

Create a new user in a realm

Request

Path Parameters

    realm stringrequired

Header Parameters

    Authorization string
    X-Forwarded-Proto string
    X-Forwarded-Host string

Body

    realm string
    realmId string
    id string
    firstName string
    lastName string
    email string
    enabled boolean
    createdOn date-time
    secret string

    attributes

    object

    property name*

    string[]

  • Array [

  • string

  • ]

  • serviceAccount boolean
    username string

    Possible values: >= 3 characters and <= 255 characters, Value must match regular expression [A-Za-z0-9\-_@.]+

Responses

default response

Schema

    realm string
    realmId string
    id string
    firstName string
    lastName string
    email string
    enabled boolean
    createdOn date-time
    secret string

    attributes

    object

    property name*

    string[]

  • Array [

  • string

  • ]

  • serviceAccount boolean
    username string

    Possible values: >= 3 characters and <= 255 characters, Value must match regular expression [A-Za-z0-9\-_@.]+

Loading...