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 the privilege for.

Minimum string length: 1
projectId
string
required

The ID of the project of the identity in.

Minimum string length: 1
permissions
object[]
required

The permission for the privilege.

type
object
required
slug
string

The slug of the privilege to create.

Required string length: 1 - 60

Response

Default Response

privilege
object
required