HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/greengrass/delete-function-definition.rst
**To delete a function definition**

The following ``delete-function-definition`` example deletes the specified Greengrass function definition. If you delete a function definition that is used by a group, that group can't be deployed successfully. ::

    aws greengrass delete-function-definition \
        --function-definition-id "fd4b906a-dff3-4c1b-96eb-52ebfcfac06a"

This command produces no output.