Skip to main content
Pulumi logo Pulumi logo
  1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. UpdateServicePrincipalRolesRequest

UpdateServicePrincipalRolesRequest

    Sets the roles of a user-defined service principal.

    Properties

    • roleIds array[string] required
      The IDs of the organization-wide roles the service principal should hold. Roles it holds that are not listed are removed, so an empty list removes them all and leaves it only its entity access. On plans with custom roles, any number of custom roles and the built-in Admin, Maintainer, Builder and Reader roles; on other plans, at most one of the built-in Reader (read), Maintainer (write) or Admin roles.

      The infrastructure platform for humans and agents.