Skip to content

Create identity

POST
/environments/{environment}/identities
environment
required
string

Environment ID

object
type

Identity type ID or key.

string
key

Custom key to be used when evaluating feature flags. Useful in case you don’t want to store Fecusio generated IDs in your database. This could be the ID you use for the entity in your application.

string
traits

Key-value pairs.

object

Successful response

object
data
object
id
string
key
string
nullable
type
object
id
string
key
string
nullable
is_default
boolean
name
string
display_name_trait
string
nullable
icon
string
color
string
Allowed values: gray red green blue purple orange pink
display_name
string
nullable
traits

Key-value pairs.

object
overrides_count
integer
created_at

Unix timestamp.

integer
updated_at

Unix timestamp.

integer