Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

An access token in Infisical

Body

application/json
name
string
required

The name of the identity to create.

organizationId
string
required

The organization ID to which the identity belongs.

role
string
default:no-access

The role of the identity. Possible values are 'no-access', 'member', and 'admin'.

Minimum string length: 1
hasDeleteProtection
boolean
default:false

Prevents deletion of the identity when enabled.

metadata
object[]

Response

Default Response

identity
object
required