Create identity type
POST /workspaces/{workspace}/identity-types
POST
/workspaces/{workspace}/identity-types
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspace
required
string
Workspace ID
Request Body required
Section titled “Request Body required ”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
color
required
string
display_name_trait
string
Responses
Section titled “ Responses ”Successful response
object
data
object
id
string
key
string
is_default
boolean
name
string
display_name_trait
string
icon
string
color
string
identities_count
integer
created_at
Unix timestamp.
integer
updated_at
Unix timestamp.
integer