Create identity
POST /environments/{environment}/identities
POST
/environments/{environment}/identities
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” environment
required
string
Environment ID
Request Body required
Section titled “Request Body required ”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
Responses
Section titled “ Responses ”Successful response
object
data
object
id
string
key
string
type
object
id
string
key
string
is_default
boolean
name
string
display_name_trait
string
icon
string
color
string
display_name
string
traits
Key-value pairs.
object
overrides_count
integer
created_at
Unix timestamp.
integer
updated_at
Unix timestamp.
integer