DML operations are not supported with the following sObjects in
Apex:
- AccountTerritoryAssignmentRule
- AccountTerritoryAssignmentRuleItem
- ApexComponent
- ApexPage
- BusinessHours
- BusinessProcess
- CategoryNode
- CurrencyType
- DatedConversionRate
- FieldPermissions
- ObjectPermissions
- PermissionSet
- PermissionSetAssignment
- ProcessInstance*
- Profile
- RecordType
- SelfServiceUser
- StaticResource
- UserAccountTeamMember
- UserTerritory
- WebLink
* You cannot create, update or delete these sObjects
in the Web services API.