# Link an Object to another Object Endpoint: POST /permissions Version: 6.10.0 Security: BasicAuth, ApiKey ## Request fields (application/json): - `userId` (integer) User id, can be only first parameter - `deviceId` (integer) Device id, can be first parameter or second only in combination with userId - `groupId` (integer) Group id, can be first parameter or second only in combination with userId - `geofenceId` (integer) Geofence id, can be second parameter only - `notificationId` (integer) Notification id, can be second parameter only - `calendarId` (integer) Calendar id, can be second parameter only and only in combination with userId - `attributeId` (integer) Computed attribute id, can be second parameter only - `driverId` (integer) Driver id, can be second parameter only - `managedUserId` (integer) User id, can be second parameter only and only in combination with userId - `commandId` (integer) Saved command id, can be second parameter only ## Response 204 fields ## Response 400 fields