Groups.save (Method)

Updates information for an existing group or creates a new one.

Returns:

GroupID_Deletable (integer)

Arguments:

Name Type Required Description
id GroupID_Deletable_NonVisitorContext_0 Required A group's ID. If this value is 0, CommonSpot creates a new group instead of updating one.
name PlainText_NonNull_255 Required The group's name.
description PlainText_NonNull_2000 Required The group's description.

Context:

License Requirements None
Permission Requirements Customer:CreateGroups
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the customer level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

Code Error Message
24012 You have insufficient permissions to edit this group.
24013 You have insufficient permissions to add new groups.
24014 Another group whose name is '$1' already exists.

Notes:

None