About this resource

Representation of a Permission

Properties

Property Description Type
labels A collection of Label items. LabelCollection
name Gets the name of this permission. string

Relations

Method Name Select-key Resource type Description
GET self Provides a link to this resource.

Actions

Method Action Description Response codes
PUT /permission/{permissionName} edit Edits an existing permission.
204 Request completed successfully
400 Bad request (in general)
403 Insufficient permissions
404 Permission not found

Examples

Editing a permission
PUT /permission/MyPermissionName
{
  "name": "NewPermissionName",
  "labels": [
							{
								"languageId": "C2BD4F9B-BB95-4BCB-80C3-1E924C9C26DC",
								"value": "My Security Permission Name In English"
							},
							{
								"languageId": "5d557ae8-fd16-4dbb-a9d9-a80400dfa639",
								"value": "My Security Permission Name In German"
							}
						]
}