PATCH api/Roles/{roleId}/Permissions
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| roleId | integer | 
                                 Required  | 
                
Body Parameters
Collection of Permission| Name | Description | Type | Additional information | 
|---|---|---|---|
| Name | string | 
                             None.  | 
                |
| Description | string | 
                             None.  | 
                |
| PermissionType | PermissionType | 
                             None.  | 
                |
| Id | integer | 
                             None.  | 
                |
| CreatedDate | date | 
                             None.  | 
                |
| CreatedBy | string | 
                             None.  | 
                |
| UpdateDate | date | 
                             None.  | 
                |
| UpdatedBy | string | 
                             None.  | 
                |
| IsActive | boolean | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
[
  {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "PermissionType": 0,
    "Id": 3,
    "CreatedDate": "2025-11-03T21:43:59.1024729-06:00",
    "CreatedBy": "sample string 5",
    "UpdateDate": "2025-11-03T21:43:59.1024729-06:00",
    "UpdatedBy": "sample string 6",
    "IsActive": true
  },
  {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "PermissionType": 0,
    "Id": 3,
    "CreatedDate": "2025-11-03T21:43:59.1024729-06:00",
    "CreatedBy": "sample string 5",
    "UpdateDate": "2025-11-03T21:43:59.1024729-06:00",
    "UpdatedBy": "sample string 6",
    "IsActive": true
  }
]
        application/xml, text/xml
            Sample:
        
<ArrayOfPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS">
  <Permission>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 5</CreatedBy>
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-11-03T21:43:59.1024729-06:00</CreatedDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">3</Id>
    <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
    <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-11-03T21:43:59.1024729-06:00</UpdateDate>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 6</UpdatedBy>
    <Description xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 2</Description>
    <Name xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 1</Name>
    <PermissionType xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">Create</PermissionType>
  </Permission>
  <Permission>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 5</CreatedBy>
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-11-03T21:43:59.1024729-06:00</CreatedDate>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">3</Id>
    <IsActive xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">true</IsActive>
    <UpdateDate xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">2025-11-03T21:43:59.1024729-06:00</UpdateDate>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.PresentationEntities">sample string 6</UpdatedBy>
    <Description xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 2</Description>
    <Name xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">sample string 1</Name>
    <PermissionType xmlns="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.LocalEntities">Create</PermissionType>
  </Permission>
</ArrayOfPermission>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | Version | 
                             None.  | 
                |
| Content | HttpContent | 
                             None.  | 
                |
| StatusCode | HttpStatusCode | 
                             None.  | 
                |
| ReasonPhrase | string | 
                             None.  | 
                |
| Headers | Collection of Object | 
                             None.  | 
                |
| RequestMessage | HttpRequestMessage | 
                             None.  | 
                |
| IsSuccessStatusCode | boolean | 
                             None.  |