CreateServicePrincipalRequest
The request body for creating a user-defined service principal.
Properties
namestring requiredThe display name of the service principal, unique (ignoring case) among the organization’s user-defined service principals. 1 to 255 characters: ASCII letters, digits, spaces, hyphens, underscores and periods, starting with an ASCII letter or digit.roleIdsarray[string] optionalThe IDs of the organization-wide roles the service principal holds, if any. 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. A service principal gets its access only from these roles and its entity access, never from the organization’s default role: without roles, it can do only what its entity access allows.