Skip to main content
A newer release of this product is available.

Create a background task to update the GPO settings for an SVM

Contributors

PATCH /protocols/cifs/group-policies/{svm.uuid}

Introduced In: 9.12

Will create a background task to update the GPO settings for specified SVM.

  • vserver cifs group-policy update

Parameters

Name Type In Required Description

apply_updates

boolean

query

False

Indicates whether to apply updates or not.

  • Default value: 1

force_reapply_all_settings

boolean

query

False

Indicates whether or not a re-applying of all settings is enforced.

  • Default value:

svm.uuid

string

path

True

UUID of the SVM to which this object belongs.

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

4456649

Unable to get Group Policy information for SVM.

4456650

Group Policy is disabled for SVM.

4456651

Unable to get CIFS server information for SVM.

4456652

CIFS server is down for SVM.

4456851

An update is already in progress for specified SVM. Wait a few minutes, then try the command again.

4456852

Failed to set forced update for specified SVM. Reason: Internal error. Starting normal update.

Name Type Description

error

error

Example error
{
  "error": {
    "arguments": {
      "code": "string",
      "message": "string"
    },
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.