PUT {who}/authorization/RoleDefinitions/{roleTypeID}?language={language}
[Removed] Attempts to update role type
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| who | who the user is acting as/on behalf of. |
Define this parameter in the request URI. |
| roleDefinition | Role Definition to be updated. |
Define this parameter in the request body. |
| roleTypeID | Role Definition Id to be updated. |
Define this parameter in the request URI. |
| language | Language, valid values are: 1033 (English), 1044 (Bokmal) and 2068 (Nynorsk) This is an optional parameter, defaults to the user preset language. |
Define this parameter in the request URI. |
Request body formats
application/hal+xml
Sample:
<resource rel="RoleDefinition">
<RoleName>string example 21</RoleName>
<RoleDescription>64</RoleDescription>
<RoleType>64</RoleType>
<resource rel="Rights">
<resource rel="Right">
<ServiceCode>string example 34</ServiceCode>
<ServiceEditionCode>string example 38</ServiceEditionCode>
<Action>64</Action>
</resource>
</resource>
</resource>
application/hal+json
Sample:
{
"RoleName": "string example 34",
"RoleDescription": 64,
"RoleType": "string example 34",
"_embedded" : {
"Rights" : [{
"ServiceCode": "string example 36",
"ServiceEditionCode": "string example 38",
"Action": "string example 36"
}]
}
}
