Error Codes

permission.duplicatedA permission with the same details already exists.
permission.group.notFoundThe group cannot be found.
permission.group.id.requiredThe group ID is required if the group object is included in the request.
permission.id.requiredThe permission ID was not included in the request.
permission.item.ambiguousSpecify only either a group ID, key ID or location ID to grant access.
permission.item.id.requiredSpecify a group ID, key ID or location ID to grant access.
permission.key.id.requiredThe key ID is required if the key object is included in the request.
permission.key.notFoundThe key cannot be found.
permission.location.id.requiredThe location ID is required if the location object is included in the request.
permission.location.notFoundThe location cannot be found.
permission.notFoundThe permission cannot be found.
permission.resource.forbiddenSmartBox user can only be granted Exchange Only permission to a key or key group.
permission.role.forbiddenSmartBox user can only be granted Exchange Only permission to a key or key group.
permission.role.invalidThe specified permission role is not valid.
permission.role.requiredThe role was not included in the request.
permission.search.group.invalidThe specified group ID is not valid.
permission.search.key.invalidThe specified key ID is not valid.
permission.search.location.invalidThe specified location ID is not valid.
permission.search.user.invalidThe specified user ID is not valid.
permission.user.notFoundThe user cannot be found.
permission.user.requiredThe user object was not included in the request.
permission.user.self.errorCannot assign permission to own resource.