bt_mesh_app_key_del() function
Delete an Application key. All models bound to this application will remove this binding. All models publishing with this application will stop publishing.
Arguments
app_idx
Application index.
Return value
STATUS_SUCCESS The Application key was successfully deleted. STATUS_INVALID_NETKEY The NetIdx is unknown. STATUS_INVALID_BINDING This AppIdx is not bound to the given NetIdx.