# service.update

Update service entry of `id_or_name`.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id_or_name

#### id_or_name

ID or name of the service to update.

## Any of

Type: integer
Type: string

##### Parameter 2: service_update

#### service_update

Type: object

Updated configuration for the service.

No Additional Properties

##

#### Enable

Type: boolean

Whether the service should start on boot.

##

#### Result

Type: integer

The service ID.

Required roles: SERVICE_WRITE | SHARING_FTP_WRITE | SHARING_ISCSI_WRITE | SHARING_NFS_WRITE | SHARING_NVME_TARGET_WRITE | SHARING_SMB_WRITE