Skip to main content

Update user

Update user

Path Parameters
    id string required
Request Body required
    name string

    The name of the user. The name must be unique within the entire Frontier instance. The name can contain only alphanumeric characters, dashes and underscores and must start with a letter. If not provided, Frontier automatically generates a name from the user email.

    email string required

    The email of the user. The email must be unique within the entire Frontier instance.
    Example:"john.doe@raystack.org"

    metadata object

    Metadata object for users that can hold key value pairs pre-defined in User Metaschema. The metadata object can be used to store arbitrary information about the user such as label, description etc. By default the user metaschema contains labels and descriptions for the user. Update the same to add more fields to the user metadata object.
    Example:{"label": {"key1": "value1"}, "description": "User Description"}

    title string

    The title can contain any UTF-8 character, used to provide a human-readable name for the user. Can also be left empty.
    Example:"John Doe"

Responses

A successful response.


Schema
    user object
    id string
    name can either be empty or must start with a character

    Unique name of the user.

    title string

    Name of the user.

    email string
    metadata object
    createdAt date-time

    The time the user was created.

    updatedAt date-time

    The time the user was last updated.

    state string
Loading...