Skip to content

Create identity type

POST
/workspaces/{workspace}/identity-types
workspace
required
string

Workspace ID

object
name
required
string
key

Custom key to be used when creating identities, or evaluating feature flags. Useful in case you don’t want to store Fecusio generated IDs in your database.

string
icon
required
string
Allowed values: workspaces user organization store dollar euro group company office wallet bank public location category institution headquarters factory warehouse chair savings crypto credit_card network cloud server folder delivery package cart shield item component starred region flag active device camera video lock dashboard podcast rocket car key
color
required
string
Allowed values: gray red green blue purple orange pink
display_name_trait
string
nullable

Successful response

object
data
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
identities_count
integer
created_at

Unix timestamp.

integer
updated_at

Unix timestamp.

integer