ImageGallery.delete (Method)

Deletes the specified image gallery.

Returns:

Void

Arguments:

Name Type Required Description
id ImageGalleryID Required ID of the image gallery to delete.

Context:

License Requirements (none)
Permission Requirements imageGallery:Admin
Deny Context (none)
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization This method may be customized at the site level

Error Codes:

Code Error Message
89503 CommonSpot cannot delete the specified image gallery as it has images added to it.

Notes:

None