Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

An access token in Infisical

Body

application/json
identityId
string
required

The ID of the machine identity to create.

Minimum string length: 1
projectSlug
string
required

The slug of the project of the identity in.

Minimum string length: 1
slug
string

The slug of the privilege to create.

Required string length: 1 - 60
permissions
object[]

@deprecated - use privilegePermission The permission object for the privilege.

  • Read secrets
  • Read and Write secrets
  • Read secrets scoped to an environment and secret path
privilegePermission
object

The permission object for the privilege.

Response

Default Response

privilege
object
required