POST
https://api.us.nylas.com/v3/iam/principalsCreate IAM principal
Creates a principal with one resource binding.
Nylas sets the organization from your API key, so don't send organization_id. Nylas rejects unknown fields and null values.
Requires an IAM API key with the iam.principals.create permission. Application API keys and access tokens don't work.
name*A name for the principal, such as the service that uses it. Nylas trims leading and trailing spaces.
direct_permissionsUp to 100 permission IDs assigned directly to the principal. Nylas removes duplicates. See the permissions reference.