Security Groups
Update Security Role
Use to update a specific security role via patch. <span hidden>For more information see <a href="group.html#patchSecurityRole">here</a></span>
patch/v2/partition/{partitionId}/security/{securityId}
Request
- Base URLhttps://api.alianza.com
- AuthAPI key in header X-AUTH-TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
partitionIdstring required
ID of partition. Refers to <a href="#/~schema/SecurityRoleX">SecurityRoleX.partitionId</a>
securityIdstring required
Id of the Security Role. Refers to <a href="#/~schema/SecurityRoleX">SecurityRoleX.id</a>
Request body
object required
Json containing the fragment of the security role object to be updated.
Example request
{
"name": "New Role Name",
"permissions": [
{
"type": "newPermissionType",
"accessType": "newAccessType"
}
]
}Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.